]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] http: don't count req errors on client resets or t/o during keep-alive
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Jan 2010 09:26:19 +0000 (10:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Jan 2010 09:26:19 +0000 (10:26 +0100)
commitd3c343f8aa3b9479ba2d09bea8f86fe1da11090c
tree20bea1229f1e679df5c757a7d3e73b9bd1f7d5bc
parent7340ca5a54dba6c049f712c181c5a87f72d52760
[BUG] http: don't count req errors on client resets or t/o during keep-alive

We must set the error flags when detecting that a client has reset
a connection or timed out while waiting for a new request on a keep-alive
connection, otherwise process_session() sets it itself and counts one
request error.

That explains why some sites were showing an increase in request errors
with the keep-alive.
src/proto_http.c