]> git.kaiwu.me - nginx.git/commit
Core: moved PROXY protocol fields out of ngx_connection_t.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 21 Oct 2019 15:06:19 +0000 (18:06 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 21 Oct 2019 15:06:19 +0000 (18:06 +0300)
commitbe932e81a1531a3ba032febad968fc2006c4fa48
tree582aff75a1bd2b436983740e6dfc76288047e31e
parent0098761cb8636a6def144445082a0c90d340321c
Core: moved PROXY protocol fields out of ngx_connection_t.

Now a new structure ngx_proxy_protocol_t holds these fields.  This allows
to add more PROXY protocol fields in the future without modifying the
connection structure.
src/core/ngx_connection.h
src/core/ngx_core.h
src/core/ngx_proxy_protocol.c
src/core/ngx_proxy_protocol.h
src/http/modules/ngx_http_realip_module.c
src/http/ngx_http_variables.c
src/stream/ngx_stream_realip_module.c
src/stream/ngx_stream_variables.c