]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: log: fix a typo that would cause %HP to log <BADREQ>
authorNenad Merdanovic <nmerdan@anine.io>
Mon, 25 Apr 2016 23:39:02 +0000 (01:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Apr 2016 05:28:44 +0000 (07:28 +0200)
commit54e439f0b46f3cb5cd59e1f21864b1790e6d340b
treea94fa4797cf905863533578213ca3c108fae8dc6
parent0b64f62a6993a6dae4af687a1ec9a5ace9d1a2a4
BUG/MINOR: log: fix a typo that would cause %HP to log <BADREQ>

Typo was introduced in 57bc891 ("BUG/MEDIUM: log: fix risk of
segfault when logging HTTP fields in TCP mode") which inverted the
condition in the test and caused <BADREQ> to be logged when using
%HP.

Signed-off-by: Nenad Merdanovic <nmerdan@anine.io>
src/log.c