]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CRITICAL] session: correctly leave turn-around and queue states on abort
authorWilly Tarreau <w@1wt.eu>
Wed, 29 Dec 2010 13:03:02 +0000 (14:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 Dec 2010 13:38:15 +0000 (14:38 +0100)
commit32d3ee99eebe296a7addeb311e3e008f66803769
tree680b65d0fb6fd956c41b8435868c6d37e411e62a
parented2fd2daea70b10884396b2819a782152c9716f8
[CRITICAL] session: correctly leave turn-around and queue states on abort

When a client connection aborts while the server-side connection is in
turn-around after a failed connection attempt, the turn-around timeout
is reset in shutw() but the state is not changed. The session then
remains stuck in this state forever. Change the QUE and TAR states to
DIS just as we do for CER to fix this.

This patch should be backported to 1.4.
src/stream_interface.c
src/stream_sock.c