diff options
author | Roman Arutyunyan <arut@nginx.com> | 2019-10-21 18:06:19 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2019-10-21 18:06:19 +0300 |
commit | be932e81a1531a3ba032febad968fc2006c4fa48 (patch) | |
tree | 582aff75a1bd2b436983740e6dfc76288047e31e /src/core/ngx_core.h | |
parent | 0098761cb8636a6def144445082a0c90d340321c (diff) |
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.
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r-- | src/core/ngx_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index 93ca9174d..7ecdca0cb 100644 --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -26,6 +26,7 @@ typedef struct ngx_event_aio_s ngx_event_aio_t; typedef struct ngx_connection_s ngx_connection_t; typedef struct ngx_thread_task_s ngx_thread_task_t; typedef struct ngx_ssl_s ngx_ssl_t; +typedef struct ngx_proxy_protocol_s ngx_proxy_protocol_t; typedef struct ngx_ssl_connection_s ngx_ssl_connection_t; typedef struct ngx_udp_connection_s ngx_udp_connection_t; |