]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: stream-interface: make conn_notify_si() more robust
authorWilly Tarreau <wtarreau@exceliance.fr>
Fri, 24 Aug 2012 10:12:53 +0000 (12:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Sep 2012 18:47:31 +0000 (20:47 +0200)
commit44b5dc6f8548bbdc33ed4b640afc151714119675
tree6f7b05ae71143998bd2dd3ab0bd5eaf171aedd88
parent96199b101658e5cf1c67079d273535229a565c21
MAJOR: stream-interface: make conn_notify_si() more robust

This function was relying on the result of file descriptor polling
which is inappropriate as it may be subject to race conditions during
handshakes. Make it more robust by relying solely on buffer activity.
src/stream_interface.c