aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-05-24 12:35:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-05-24 12:35:10 +0000
commitde0b1d6f12e67e543627d8da4aa0aac739f143af (patch)
tree05ea9e2687d1b32054c26f7666b3f740a016dc97 /src/http/ngx_http_core_module.c
parent9b2763a245e51032734089672a8a74611a288fae (diff)
downloadnginx-de0b1d6f12e67e543627d8da4aa0aac739f143af.tar.gz
nginx-de0b1d6f12e67e543627d8da4aa0aac739f143af.zip
remove r->zero_in_uri
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 23e938897..21ea7e9d2 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1341,7 +1341,7 @@ ngx_http_core_content_phase(ngx_http_request_t *r,
/* no content handler was found */
- if (r->uri.data[r->uri.len - 1] == '/' && !r->zero_in_uri) {
+ if (r->uri.data[r->uri.len - 1] == '/') {
if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) {
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
@@ -2104,7 +2104,6 @@ ngx_http_subrequest(ngx_http_request_t *r,
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
"http subrequest \"%V?%V\"", uri, &sr->args);
- sr->zero_in_uri = (flags & NGX_HTTP_ZERO_IN_URI) != 0;
sr->subrequest_in_memory = (flags & NGX_HTTP_SUBREQUEST_IN_MEMORY) != 0;
sr->waited = (flags & NGX_HTTP_SUBREQUEST_WAITED) != 0;