diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2013-02-27 13:29:50 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2013-02-27 13:29:50 +0000 |
| commit | 67a68720b7f08542c891d7b9ef08f07e3543b0e4 (patch) | |
| tree | b61423ee7b49a7280f87d66606c96785681d71ad /src/http/ngx_http_request.h | |
| parent | 40ea120b34342a3aa80f27378c7f05360b2da7a0 (diff) | |
| download | nginx-67a68720b7f08542c891d7b9ef08f07e3543b0e4.tar.gz nginx-67a68720b7f08542c891d7b9ef08f07e3543b0e4.tar.bz2 | |
Correctly handle multiple X-Forwarded-For headers (ticket #106).
Diffstat (limited to 'src/http/ngx_http_request.h')
| -rw-r--r-- | src/http/ngx_http_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index f0c39adaf..f06f33f49 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -200,7 +200,7 @@ typedef struct { ngx_table_elt_t *keep_alive; #if (NGX_HTTP_X_FORWARDED_FOR) - ngx_table_elt_t *x_forwarded_for; + ngx_array_t x_forwarded_for; #endif #if (NGX_HTTP_REALIP) |
