comparison src/http/ngx_http_variables.c @ 294:27d9d1f26b38 NGINX_0_5_17

nginx 0.5.17 *) Change: now nginx always returns the 405 status for the TRACE method. *) Feature: now nginx supports the "include" directive inside the "types" block. *) Bugfix: the $document_root variable usage in the "root" and "alias" directives is disabled: this caused recursive stack overflow. *) Bugfix: in the HTTPS protocol in the "proxy_pass" directive. *) Bugfix: in some cases non-cachable variables (such as $uri variable) returned old cached value.
author Igor Sysoev <http://sysoev.ru>
date Mon, 02 Apr 2007 00:00:00 +0400
parents 5bef04fc3fd5
children 2ceaee987f37
comparison
equal deleted inserted replaced
293:30378812e3af 294:27d9d1f26b38
377 377
378 378
379 ngx_http_variable_value_t * 379 ngx_http_variable_value_t *
380 ngx_http_get_flushed_variable(ngx_http_request_t *r, ngx_uint_t index) 380 ngx_http_get_flushed_variable(ngx_http_request_t *r, ngx_uint_t index)
381 { 381 {
382 ngx_http_variable_value_t *v; 382 ngx_http_variable_value_t *v;
383 383
384 v = &r->variables[index]; 384 v = &r->variables[index];
385 385
386 if (v->valid) { 386 if (v->valid) {
387 if (!v->no_cachable) { 387 if (!v->no_cachable) {