]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: connection: make proxy protocol v1 support the UNKNOWN protocol
authorWilly Tarreau <w@1wt.eu>
Sat, 14 Jun 2014 09:41:36 +0000 (11:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Jun 2014 09:46:02 +0000 (11:46 +0200)
commit4c20d29c296d6bce6a0e173a26011d8c406aba6d
tree81a0e437e42145c2a6262b8db91fe4df1e27685d
parentb00d17a034ec3853c3bb406626f6aff167dd6c68
BUG/MINOR: connection: make proxy protocol v1 support the UNKNOWN protocol

If haproxy receives a connection over a unix socket and forwards it to
another haproxy instance using proxy protocol v1, it sends an UNKNOWN
protocol, which is rejected by the other side. Make the receiver accept
the UNKNOWN protocol as per the spec, and only use the local connection's
address for this.
src/connection.c