Mercurial > hg > nginx-vendor-current
diff src/http/ngx_http_request.h @ 6:80ba094c6b3e NGINX_0_1_3
nginx 0.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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 25 Oct 2004 00:00:00 +0400 |
parents | 4b2dafa26fe2 |
children | 46833bd150cb |
line wrap: on
line diff
--- 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;