Fixup TCP read wait special case.
This commit is contained in:
parent
dd5c88d1ed
commit
1c83076897
|
@ -472,7 +472,6 @@ final class PosixEventDriverSockets(Loop : PosixEventLoop) : EventDriverSockets
|
|||
}
|
||||
|
||||
sizediff_t ret = 0;
|
||||
if (!slot.readBuffer.length)
|
||||
() @trusted { ret = .recv(socket, slot.readBuffer.ptr, slot.readBuffer.length, 0); } ();
|
||||
if (ret < 0) {
|
||||
auto err = getSocketError();
|
||||
|
|
Loading…
Reference in a new issue