comparison src/http/ngx_http_request.h @ 5084:f7fe817c92a2

Correctly handle multiple X-Forwarded-For headers (ticket #106).
author Ruslan Ermilov <ru@nginx.com>
date Wed, 27 Feb 2013 13:29:50 +0000
parents 7fa7e60a7f66
children 7f1cbcc71327
comparison
equal deleted inserted replaced
5083:a805dc9c85cd 5084:f7fe817c92a2
198 ngx_table_elt_t *authorization; 198 ngx_table_elt_t *authorization;
199 199
200 ngx_table_elt_t *keep_alive; 200 ngx_table_elt_t *keep_alive;
201 201
202 #if (NGX_HTTP_X_FORWARDED_FOR) 202 #if (NGX_HTTP_X_FORWARDED_FOR)
203 ngx_table_elt_t *x_forwarded_for; 203 ngx_array_t x_forwarded_for;
204 #endif 204 #endif
205 205
206 #if (NGX_HTTP_REALIP) 206 #if (NGX_HTTP_REALIP)
207 ngx_table_elt_t *x_real_ip; 207 ngx_table_elt_t *x_real_ip;
208 #endif 208 #endif