]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] logs: don't report "proxy request" when server closes early
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Mar 2010 17:14:51 +0000 (18:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Mar 2010 17:45:47 +0000 (18:45 +0100)
commit40dba0934380635e72bfefc60a654ab34fc243de
tree29bdcf8d57ed5fe6a1955142ccae400081250c2f
parent033b2dbeb30f2d652f5683483d7d15b6c8ba413d
[BUG] logs: don't report "proxy request" when server closes early

A copy-paste typo and a missing check were causing the logs to
report "PR" instead of "SD" when a server closes before sending
full data. Also, the log would erroneously report 502 while in
fact the correct response will already have been transmitted.
src/proto_http.c