Mercurial > hg > nginx-vendor-0-7
comparison src/http/modules/ngx_http_proxy_module.c @ 466:9eda3153223b NGINX_0_7_45
nginx 0.7.45
*) Change: now the "proxy_cache" and the "proxy_cache_valid" can be set
on different levels.
*) Change: the "clean_time" parameter of the "proxy_cache_path"
directive is canceled.
*) Feature: the "max_size" parameter of the "proxy_cache_path"
directive.
*) Feature: the ngx_http_fastcgi_module preliminary cache support.
*) Feature: now on shared memory allocation errors directive and zone
names are logged.
*) Bugfix: the directive "add_header last-modified ''" did not delete a
"Last-Modified" response header line; the bug had appeared in 0.7.44.
*) Bugfix: a relative path in the "auth_basic_user_file" directive
given without variables did not work; the bug had appeared in
0.7.44.
Thanks to Jerome Loyet.
*) Bugfix: in an "alias" directive given using variables without
references to captures of regular expressions; the bug had appeared
in 0.7.42.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Mar 2009 00:00:00 +0400 |
parents | c8cfb6c462ef |
children | 09f0ef15d544 |
comparison
equal
deleted
inserted
replaced
465:29602be46850 | 466:9eda3153223b |
---|---|
322 | 322 |
323 { ngx_string("proxy_cache"), | 323 { ngx_string("proxy_cache"), |
324 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, | 324 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG, |
325 ngx_http_proxy_cache, | 325 ngx_http_proxy_cache, |
326 NGX_HTTP_LOC_CONF_OFFSET, | 326 NGX_HTTP_LOC_CONF_OFFSET, |
327 offsetof(ngx_http_proxy_loc_conf_t, upstream.cache), | 327 0, |
328 NULL }, | 328 NULL }, |
329 | 329 |
330 { ngx_string("proxy_cache_path"), | 330 { ngx_string("proxy_cache_path"), |
331 NGX_HTTP_MAIN_CONF|NGX_CONF_2MORE, | 331 NGX_HTTP_MAIN_CONF|NGX_CONF_2MORE, |
332 ngx_http_file_cache_set_slot, | 332 ngx_http_file_cache_set_slot, |
2066 } | 2066 } |
2067 | 2067 |
2068 ngx_conf_merge_ptr_value(conf->upstream.cache_valid, | 2068 ngx_conf_merge_ptr_value(conf->upstream.cache_valid, |
2069 prev->upstream.cache_valid, NULL); | 2069 prev->upstream.cache_valid, NULL); |
2070 | 2070 |
2071 if (conf->upstream.cache_valid == NULL) { | |
2072 conf->upstream.cache = NULL; | |
2073 } | |
2074 | |
2075 #endif | 2071 #endif |
2076 | 2072 |
2077 if (conf->method.len == 0) { | 2073 if (conf->method.len == 0) { |
2078 conf->method = prev->method; | 2074 conf->method = prev->method; |
2079 | 2075 |