diff --git a/src/stream_interface.c b/src/stream_interface.c index 655c882e6..024c2f58c 100644 --- a/src/stream_interface.c +++ b/src/stream_interface.c @@ -780,7 +780,7 @@ void stream_int_update(struct stream_interface *si) ic->rex = TICK_ETERNITY; } } - else { + else if (!(si->flags & SI_FL_WAIT_ROOM) || !co_data(ic)) { /* (re)start reading and update timeout. Note: we don't recompute the timeout * everytime we get here, otherwise it would risk never to expire. We only * update it if is was not yet set. The stream socket handler will already