aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-02-03 19:33:37 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-02-03 19:33:37 +0000
commit805d9db723e74bbe84e6df1be29fda28abcc23ea (patch)
tree7283a5779fba6f4b6048e29cfadeca41428ed773 /src/http/ngx_http_request.h
parentf3a7b14931aa1e99a31780a93882a5c2e8810c41 (diff)
downloadnginx-805d9db723e74bbe84e6df1be29fda28abcc23ea.tar.gz
nginx-805d9db723e74bbe84e6df1be29fda28abcc23ea.zip
nginx-0.1.17-RELEASE importrelease-0.1.17
*) Change: the ngx_http_rewrite_module was rewritten from the scratch. Now it is possible to redirect, to return the error codes, to check the variables and referrers. The directives can be used inside locations. The redirect directive was canceled. *) Feature: the ngx_http_geo_module. *) Feature: the proxy_set_x_var and fastcgi_set_var directives. *) Bugfix: the location configuration with "=" modifier may be used in another location. *) Bugfix: the correct content type was set only for requests that use small caps letters in extension. *) Bugfix: if the proxy_pass or fastcgi_pass directives were set in the location, and access was denied, and the error was redirected to a static page, then the segmentation fault occurred. *) Bugfix: if in a proxied "Location" header was a relative URL, then a host name and a slash were added to them; the bug had appeared in 0.1.14. *) Bugfix: the system error message was not logged on Linux.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 14121d1ff..a4e3d0e5a 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -298,6 +298,9 @@ struct ngx_http_request_s {
ngx_int_t phase_handler;
ngx_http_handler_pt content_handler;
+ ngx_uint_t nvariables;
+ void **variables;
+
ngx_array_t cleanup;
/* used to learn the Apache compatible response length without a header */
@@ -313,14 +316,19 @@ struct ngx_http_request_s {
unsigned http_state:4;
-#if 0
- /* URI is not started with '/' - "GET http://" */
- unsigned unusual_uri:1;
-#endif
/* URI with "/." and on Win32 with "//" */
unsigned complex_uri:1;
+
/* URI with "%" */
unsigned quoted_uri:1;
+
+ /* URI with "+" */
+ unsigned plus_in_uri:1;
+
+ unsigned uri_changed:1;
+ unsigned uri_changes:4;
+
+ unsigned low_case_exten:1;
unsigned header_timeout_set:1;
unsigned proxy:1;