]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: don't process abortonclose when request was sent
authorWilly Tarreau <w@1wt.eu>
Sat, 29 Dec 2012 23:50:35 +0000 (00:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 29 Dec 2012 23:50:35 +0000 (00:50 +0100)
commita7a7ebc38280d7a04192bf95e6852222f4bd8140
tree4ff190fa2c8a399f2b77797be2ba09c860416217
parenteab777c32eff7ee55a6ea12dd2f15fa14d66f233
BUG/MINOR: http: don't process abortonclose when request was sent

option abortonclose may cause a valid connection to be aborted just
after the request has been sent. This is because we check for it
during the session establishment sequence before checking for write
activity. So if the abort and the connect complete at the same time,
the abort is still considered. Let's check for an explicity partial
write before aborting.

This fix should be backported to 1.4 too.
src/session.c