Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_core_module.c @ 572:ff463db0be31 NGINX_0_8_38
nginx 0.8.38
*) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives.
*) Feature: now the "rewrite" directive does a redirect automatically
if the $scheme variable is used.
Thanks to Piotr Sikora.
*) Bugfix: now "limit_req" delay directive conforms to the described
algorithm.
Thanks to Maxim Dounin.
*) Bugfix: the $uid_got variable might not be used in the SSI and perl
modules.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 May 2010 00:00:00 +0400 |
parents | 8246d8a2c2be |
children | 7858d4f8dec4 |
comparison
equal
deleted
inserted
replaced
571:5b59e716792b | 572:ff463db0be31 |
---|---|
1339 return NGX_AGAIN; | 1339 return NGX_AGAIN; |
1340 } | 1340 } |
1341 | 1341 |
1342 /* no content handler was found */ | 1342 /* no content handler was found */ |
1343 | 1343 |
1344 if (r->uri.data[r->uri.len - 1] == '/' && !r->zero_in_uri) { | 1344 if (r->uri.data[r->uri.len - 1] == '/') { |
1345 | 1345 |
1346 if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) { | 1346 if (ngx_http_map_uri_to_path(r, &path, &root, 0) != NULL) { |
1347 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 1347 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
1348 "directory index of \"%s\" is forbidden", path.data); | 1348 "directory index of \"%s\" is forbidden", path.data); |
1349 } | 1349 } |
2102 } | 2102 } |
2103 | 2103 |
2104 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, | 2104 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, |
2105 "http subrequest \"%V?%V\"", uri, &sr->args); | 2105 "http subrequest \"%V?%V\"", uri, &sr->args); |
2106 | 2106 |
2107 sr->zero_in_uri = (flags & NGX_HTTP_ZERO_IN_URI) != 0; | |
2108 sr->subrequest_in_memory = (flags & NGX_HTTP_SUBREQUEST_IN_MEMORY) != 0; | 2107 sr->subrequest_in_memory = (flags & NGX_HTTP_SUBREQUEST_IN_MEMORY) != 0; |
2109 sr->waited = (flags & NGX_HTTP_SUBREQUEST_WAITED) != 0; | 2108 sr->waited = (flags & NGX_HTTP_SUBREQUEST_WAITED) != 0; |
2110 | 2109 |
2111 sr->unparsed_uri = r->unparsed_uri; | 2110 sr->unparsed_uri = r->unparsed_uri; |
2112 sr->method_name = ngx_http_core_get_method; | 2111 sr->method_name = ngx_http_core_get_method; |