diff --git a/src/event/BufferedSocket.cxx b/src/event/BufferedSocket.cxx index c590c215d..939824baa 100644 --- a/src/event/BufferedSocket.cxx +++ b/src/event/BufferedSocket.cxx @@ -121,7 +121,7 @@ BufferedSocket::OnSocketReady(unsigned flags) if (!ReadToBuffer() || !ResumeInput()) return false; - if (input.IsFull()) + if (!input.IsFull()) ScheduleRead(); }