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