]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connection: add a new local send-proxy transport callback
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 21:55:57 +0000 (23:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 22:32:35 +0000 (00:32 +0200)
commit5f1504f5244e8adc0081e7c803f94e6eb3b15b38
tree924e4de23bdb4ca8cffbcbd0d92dfec6514ca47d
parente1e4a61e7a2b3df24786b34cd34da13f295bcad3
MEDIUM: connection: add a new local send-proxy transport callback

This callback sends a PROXY protocol line on the outgoing connection,
with the local and remote endpoint information. This is used for local
connections (eg: health checks) where the other end needs to have a
valid address and no connection is relayed.
include/proto/connection.h
include/types/connection.h
src/connection.c