changeset 2601:377698b60999

unlink proxy_cache and proxy_cache_valid
author Igor Sysoev <igor@sysoev.ru>
date Tue, 24 Mar 2009 12:31:24 +0000
parents df5e99f6464b
children 4ed2fa197a4a
files src/http/modules/ngx_http_proxy_module.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -2068,10 +2068,6 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t
     ngx_conf_merge_ptr_value(conf->upstream.cache_valid,
                              prev->upstream.cache_valid, NULL);
 
-    if (conf->upstream.cache_valid == NULL) {
-        conf->upstream.cache = NULL;
-    }
-
 #endif
 
     if (conf->method.len == 0) {