commit | 7799267f43f9d2b32c69193408754c93827c31d7 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Jun 14 11:06:17 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Jun 14 11:46:03 2014 +0200 |
tree | e1249aef885e8cacfd40f92451c1416ae3bd2410 | |
parent | 8fccfa256ebf496e4835bb61b54c4ef28ac90608 [diff] |
MEDIUM: connection: add support for proxy protocol v2 in accept-proxy The "accept-proxy" statement of bind lines was still limited to version 1 of the protocol, while send-proxy-v2 is now available on the server lines. This patch adds support for parsing v2 of the protocol on incoming connections. The v2 header is automatically recognized so there is no need for a new option.