summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-10-25 15:20:58 +0000
committerJonathan Kolb <jon@b0g.us>2004-10-25 15:20:58 +0000
commit97037d1561937dbd6d738dfce58613349c98eb5a (patch)
treea239e9ee925bc419f1afb039bfc9109fb8f2d76b /src/http/ngx_http_request.h
parenta3b9eb91d36557964697d6a22ac0ab61d95421cf (diff)
downloadnginx-0.1.3.tar.gz
Changes with nginx 0.1.3 25 Oct 2004v0.1.3
*) Feature: the ngx_http_autoindex_module and the autoindex directive. *) Feature: the proxy_set_x_url directive. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 8a9c8f24f..f1b957b6f 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -146,6 +146,8 @@ typedef struct {
#if (NGX_HTTP_PROXY)
ngx_table_elt_t *x_forwarded_for;
+ ngx_table_elt_t *x_real_ip;
+ ngx_table_elt_t *x_url;
#endif
ngx_array_t cookies;
@@ -283,7 +285,7 @@ struct ngx_http_request_s {
uint32_t in_addr;
ngx_uint_t port;
ngx_str_t *port_text; /* ":80" */
- ngx_str_t *server_name;
+ ngx_str_t server_name;
ngx_array_t *virtual_names;
ngx_uint_t phase;