]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: do not report connection errors for second and further requests
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Dec 2013 18:31:37 +0000 (19:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:54 +0000 (02:23 +0100)
commit6b726adb35d998eb55671c0d98ef889cb9fd64ab
treeea3a7632b5461cb499d7d916175c542438b0d8d9
parent9420b1271d3c800033e8af20c8fcad4258ac27ee
MEDIUM: http: do not report connection errors for second and further requests

In HTTP keep-alive, if we face a connection error to the server while sending
the request, the error should not be reported, and the client-side connection
should simply be closed, so that client knows it can retry. This can happen if
the server has too short a keep-alive timeout and quits at the same moment the
new request comes in.
src/proto_http.c