diff options
-rw-r--r-- | src/stream_engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream_engine.cpp b/src/stream_engine.cpp index a39b410..85e3073 100644 --- a/src/stream_engine.cpp +++ b/src/stream_engine.cpp @@ -304,7 +304,7 @@ void xs::stream_engine_t::out_event (fd_t fd_) // If the encoder reports that there are no more data to get from it // we can stop polling for POLLOUT immediately. - if (!more_data) + if (!more_data && !outsize) reset_pollout (handle); } |