]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: add error reporting for the PROXY protocol header
authorWilly Tarreau <w@1wt.eu>
Mon, 3 Dec 2012 14:41:18 +0000 (15:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Dec 2012 16:21:51 +0000 (17:21 +0100)
commit8e3bf699db197019f6a2840923f6b33cc13bb184
treeaf0d9c7f70a5fe35d00bb30d2b20c10f1ced0b65
parent0af2912fd1c5e72b1547bb841b6eb7c3fe14f659
MEDIUM: connection: add error reporting for the PROXY protocol header

When the PROXY protocol header is expected and fails, leading to an
abort of the incoming connection, we now emit a log message. If option
dontlognull is set and it was just a port probe, then nothing is logged.
include/proto/connection.h
include/types/connection.h
src/connection.c
src/session.c