]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stream-int: fix the keep-alive idle connection handler
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2013 13:21:48 +0000 (14:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2013 13:21:48 +0000 (14:21 +0100)
commitea90063cbcc03506510522809d564112aa1a9ce9
treef5be9e6565c0abfe5eb6c7a13f7668a05d58f318
parent783e1cf322bce051a64c5d0ee9e19347c0625ee3
BUG/MEDIUM: stream-int: fix the keep-alive idle connection handler

Commit 2737562 (MEDIUM: stream-int: implement a very simplistic idle
connection manager) implemented an idle connection handler. In the
case where all data is drained from the server, it fails to disable
polling, resulting in a busy spinning loop.

Thanks to Sander Klein and Guillaume Castagnino for reporting this bug.

No backport is needed.
src/stream_interface.c