]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG: http: do not abort keep-alive connections on server timeout
authorlsenta <laurent.senta@gmail.com>
Fri, 13 Nov 2015 09:44:22 +0000 (10:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Nov 2015 13:41:51 +0000 (14:41 +0100)
commit1e1f41d0f3473d86da84dc3785b7d7cbef6e9044
treedfc774d32cb91cc5d90a2bce6a81047f2a14f8d6
parent7385f65283cf223baa14f69a42e2e77eb8c02182
BUG: http: do not abort keep-alive connections on server timeout

When a server timeout is detected on the second or nth request of a keep-alive
connection, HAProxy closes the connection without writing a response.
Some clients would fail with a remote disconnected exception and some
others would retry potentially unsafe requests.

This patch removes the special case and makes sure a 504 timeout is
written back whenever a server timeout is handled.

Signed-off-by: lsenta <laurent.senta@gmail.com>
src/proto_http.c