]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: don't log a 503 on client errors while waiting for requests
authorWilly Tarreau <w@1wt.eu>
Tue, 4 Dec 2012 09:39:01 +0000 (10:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Dec 2012 09:52:22 +0000 (10:52 +0100)
commitdc979f24929ad5352832730954c83ba47afe24cc
tree7d2c8f9d8aa903cf3ce54ff5e47c849db3775864
parent1eb20efe701ef555efb430bf42d9c3064d2c3c7e
BUG/MINOR: http: don't log a 503 on client errors while waiting for requests

If a client aborts a request with an error (typically a TCP reset), we must
log a 400. Till now we did not set the status nor close the stream interface,
causing the request to attempt to be forwarded and logging a 503.

Should be backported to 1.4 which is affected as well.
src/proto_http.c