comparison src/http/ngx_http_request.c @ 2992:2465ff3da161

geo module supports trusted proxies
author Igor Sysoev <igor@sysoev.ru>
date Wed, 22 Jul 2009 09:43:14 +0000
parents c96960a4b42c
children f592d466bbda
comparison
equal deleted inserted replaced
2991:6ae141e270ad 2992:2465ff3da161
127 ngx_http_process_unique_header_line }, 127 ngx_http_process_unique_header_line },
128 128
129 { ngx_string("Keep-Alive"), offsetof(ngx_http_headers_in_t, keep_alive), 129 { ngx_string("Keep-Alive"), offsetof(ngx_http_headers_in_t, keep_alive),
130 ngx_http_process_header_line }, 130 ngx_http_process_header_line },
131 131
132 #if (NGX_HTTP_PROXY || NGX_HTTP_REALIP) 132 #if (NGX_HTTP_PROXY || NGX_HTTP_REALIP || NGX_HTTP_GEO)
133 { ngx_string("X-Forwarded-For"), 133 { ngx_string("X-Forwarded-For"),
134 offsetof(ngx_http_headers_in_t, x_forwarded_for), 134 offsetof(ngx_http_headers_in_t, x_forwarded_for),
135 ngx_http_process_header_line }, 135 ngx_http_process_header_line },
136 #endif 136 #endif
137 137