mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
[Multiplex] Fix the issue that the physical socket is not handled properly.
PiperOrigin-RevId: 660594414
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user