]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream_interface: fix another case where the reader might not be woken up
authorWilly Tarreau <w@1wt.eu>
Wed, 19 Dec 2012 17:01:02 +0000 (18:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Dec 2012 18:28:57 +0000 (19:28 +0100)
commit34ac5665d4f01496e298ef771efaaccd2c41a20d
tree593ecbc089196a0cd1b765407194dc5e0b318451
parent66572768712e014045dc5029da2facc1e12f73f0
BUG/MEDIUM: stream_interface: fix another case where the reader might not be woken up

The code review during the chase for the POST freeze uncovered another possible
issue which might appear when we perform an incomplete read and want to stop because
of READ_DONTWAIT or because we reached the maximum read_poll limit. Reading is
disabled but SI_FL_WAIT_ROOM was not set, possibly causing some cases where a
send() on the other side would not wake the reader up until another activity
on the same side calls the update function which fixes its status.
src/stream_interface.c