]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] switch server-side stream interface to close in case of abort
authorWilly Tarreau <w@1wt.eu>
Fri, 6 Mar 2009 11:51:23 +0000 (12:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Mar 2009 11:51:23 +0000 (12:51 +0100)
commit9279562e2aa985e8d232b756b7afe24e835e306e
tree53b3f77d09a6fc87414f336f357d45c57d1068e0
parent79584225e559a63045b65421f1b3df474910e831
[BUG] switch server-side stream interface to close in case of abort

In pure TCP mode, there is no response analyser to switch the server-side
stream interface from INI to CLO when the output has been closed after an
abort. This caused sessions to remain indefinitely active when they were
aborted by the client during a TCP content analysis.

The proper action is to switch the stream interface to the CLO state from
INI when we have write enable and shutdown write.
src/session.c