Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 5605:3a72b1805c52
Added server-side support for PROXY protocol v1 (ticket #355).
Client address specified in the PROXY protocol header is now
saved in the $proxy_protocol_addr variable and can be used in
the realip module.
This is currently not implemented for mail.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 17 Mar 2014 17:41:24 +0400 |
parents | 7ecaa9e4bf1b |
children | 345e4fd4bb64 |
comparison
equal
deleted
inserted
replaced
5604:22d485944c20 | 5605:3a72b1805c52 |
---|---|
307 | 307 |
308 ngx_buf_t **free; | 308 ngx_buf_t **free; |
309 ngx_int_t nfree; | 309 ngx_int_t nfree; |
310 | 310 |
311 #if (NGX_HTTP_SSL) | 311 #if (NGX_HTTP_SSL) |
312 ngx_uint_t ssl; /* unsigned ssl:1; */ | 312 unsigned ssl:1; |
313 #endif | 313 #endif |
314 unsigned proxy_protocol:1; | |
314 } ngx_http_connection_t; | 315 } ngx_http_connection_t; |
315 | 316 |
316 | 317 |
317 typedef void (*ngx_http_cleanup_pt)(void *data); | 318 typedef void (*ngx_http_cleanup_pt)(void *data); |
318 | 319 |