]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] frontend: add a make_proxy_line function
authorWilly Tarreau <w@1wt.eu>
Sun, 20 Mar 2011 09:15:22 +0000 (10:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 20 Mar 2011 09:15:22 +0000 (10:15 +0100)
commita73fcaf424ee8985abbec1d57b88c3a74f8198c5
treebb6bc57ee41b24f958fdd5b47903f8a6c9063c78
parent1b6e608c115ac40e69e473e990aefb6a9cc1bc19
[MINOR] frontend: add a make_proxy_line function

This function will build a PROXY protocol line header from two addresses
(IPv4 or IPv6). AF_UNIX family will be reported as UNKNOWN.
include/proto/frontend.h
src/frontend.c