comparison src/http/ngx_http_request.h @ 4697:09187f9b0950

Fixed compile-time conditionals used to detect if X-Forwarded-For support is needed.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 21 Jun 2012 11:02:22 +0000
parents cb1d3b48a848
children 5b93a9ac60ed
comparison
equal deleted inserted replaced
4696:b43fe2deb053 4697:09187f9b0950
190 190
191 ngx_table_elt_t *authorization; 191 ngx_table_elt_t *authorization;
192 192
193 ngx_table_elt_t *keep_alive; 193 ngx_table_elt_t *keep_alive;
194 194
195 #if (NGX_HTTP_PROXY || NGX_HTTP_REALIP || NGX_HTTP_GEO) 195 #if (NGX_HTTP_X_FORWARDED_FOR)
196 ngx_table_elt_t *x_forwarded_for; 196 ngx_table_elt_t *x_forwarded_for;
197 #endif 197 #endif
198 198
199 #if (NGX_HTTP_REALIP) 199 #if (NGX_HTTP_REALIP)
200 ngx_table_elt_t *x_real_ip; 200 ngx_table_elt_t *x_real_ip;