Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-03-28 18:43:02 +0400
committerIgor Sysoev <igor@sysoev.ru>2005-03-28 18:43:02 +0400
commitc04deca88f2b3b99b615571b447d7ecbb6a79bee (patch)
tree79cedaf8b0e94ca35296e47fa7dd0d29a94bbda9 /src/http/ngx_http_core_module.c
parentc4d120bb4378dbd1fbb9f1e2d7930feab6c2ecf2 (diff)
nginx-0.1.27-RELEASE importrelease-0.1.27
*) Feature: the "blocked" parameter of the "valid_referers" directive. *) Change: the errors while handling the request header now logged at "info" level. The server name and the "Host" and "Referer" header lines also logged. *) Change: the "Host" header line is also logged in error log. *) Feature: the proxy_pass_unparsed_uri directive. The special handling of the "://" symbols in URI, appeared in 0.1.11 version, now is canceled. *) Bugfix: nginx could not be built on FreeBSD and Linux, if the --without-ngx_http_auth_basic_module configuration parameter was used.
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index d1bf10457..0ad08d5e1 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -415,8 +415,10 @@ ngx_http_handler(ngx_http_request_t *r)
r->connection->write->event_handler = ngx_http_core_phase_event_handler;
+ r->valid_unparsed_uri = 1;
r->uri_changed = 1;
r->uri_changes = 11;
+
r->phase = NGX_HTTP_REWRITE_PHASE;
r->phase_handler = 0;