comparison src/http/ngx_http_request.c @ 3242:f678ea405737 stable-0.7

merge r2993: geo module supports trusted proxies
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 16:42:19 +0000
parents 8254055b6693
children 08570d26c7c5
comparison
equal deleted inserted replaced
3241:0ecc8d7c77b1 3242:f678ea405737
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