summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-24 12:31:24 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-24 12:31:24 +0000
commit3a20e4a47716ccb5aab3cd962980b4c83034f911 (patch)
tree8ece59a0676ddd373b01175e81832187f81ff67e /src/http/modules/ngx_http_proxy_module.c
parent7e4d11bb44a97cd6a51909221c4e4c03db4030cb (diff)
downloadnginx-3a20e4a47716ccb5aab3cd962980b4c83034f911.tar.gz
nginx-3a20e4a47716ccb5aab3cd962980b4c83034f911.tar.bz2
unlink proxy_cache and proxy_cache_valid
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index 680d77a58..13384766a 100644
--- 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 *cf, void *parent, void *child)
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) {