]> git.kaiwu.me - nginx.git/commit
Core: added processing of version 2 of the PROXY protocol.
authorVladimir Homutov <vl@nginx.com>
Thu, 22 Mar 2018 12:55:28 +0000 (15:55 +0300)
committerVladimir Homutov <vl@nginx.com>
Thu, 22 Mar 2018 12:55:28 +0000 (15:55 +0300)
commit9207cc84b21e94283478cee7a953b1859c4434cb
tree28ffbae8a2a37892eac272b2d3bf328895c7b3dc
parentf39d5e8b33d507f95e800a6d6301da510a72a3af
Core: added processing of version 2 of the PROXY protocol.

The protocol used on inbound connection is auto-detected and corresponding
parser is used to extract passed addresses.  TLV parameters are ignored.

The maximum supported size of PROXY protocol header is 107 bytes
(similar to version 1).
src/core/ngx_proxy_protocol.c