[Multiplex] Fix the issue that the physical socket is not handled properly.

PiperOrigin-RevId: 660594414
This commit is contained in:
hai007
2024-08-07 17:12:39 -07:00
committed by Copybara-Service
parent 471210b61a
commit d730c6a437
7 changed files with 70 additions and 97 deletions
+2 -1
View File
@@ -36,7 +36,8 @@ ExceptionOr<ByteArray> BlockingQueueStream::Read(std::int64_t size) {
<< "Failed to read BlockingQueueStream because it was closed.";
return ExceptionOr<ByteArray>(Exception::kInterrupted);
}
NEARBY_LOGS(INFO) << "BlockingQueueStream read " << size << " bytes";
NEARBY_LOGS(INFO) << "BlockingQueueStream expect to read " << size
<< " bytes";
return ExceptionOr<ByteArray>(blocking_queue_.Take());
}