comparison src/http/modules/ngx_http_fastcgi_module.c @ 472:09f0ef15d544 NGINX_0_7_48

nginx 0.7.48 *) Feature: the "proxy_cache_key" directive. *) Bugfix: now nginx takes into account the "X-Accel-Expires", "Expires", and "Cache-Control" header lines in a backend response. *) Bugfix: now nginx caches responses for the GET requests only. *) Bugfix: the "fastcgi_cache_key" directive was not inherited. *) Bugfix: the $arg_... variables did not work with SSI subrequests. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built with uclibc library. Thanks to Timothy Redaelli. *) Bugfix: nginx could not be built on OpenBSD; the bug had appeared in 0.7.46.
author Igor Sysoev <http://sysoev.ru>
date Mon, 06 Apr 2009 00:00:00 +0400
parents 9eda3153223b
children 549994537f15
comparison
equal deleted inserted replaced
471:0cc33540f2e0 472:09f0ef15d544
2062 } 2062 }
2063 2063
2064 ngx_conf_merge_ptr_value(conf->upstream.cache_valid, 2064 ngx_conf_merge_ptr_value(conf->upstream.cache_valid,
2065 prev->upstream.cache_valid, NULL); 2065 prev->upstream.cache_valid, NULL);
2066 2066
2067 if (conf->cache_key.value.data == NULL) {
2068 conf->cache_key = prev->cache_key;
2069 }
2070
2067 #endif 2071 #endif
2068 2072
2069 ngx_conf_merge_value(conf->upstream.pass_request_headers, 2073 ngx_conf_merge_value(conf->upstream.pass_request_headers,
2070 prev->upstream.pass_request_headers, 1); 2074 prev->upstream.pass_request_headers, 1);
2071 ngx_conf_merge_value(conf->upstream.pass_request_body, 2075 ngx_conf_merge_value(conf->upstream.pass_request_body,