# HG changeset patch # User Maxim Dounin # Date 1380286213 -14400 # Node ID e65be17e3a3e498b8cab86c54ae5db90b9e41faf # Parent 919d230ecdbe6f04c33bceeedbf9840143af152e Upstream: proxy_no_cache, fastcgi_no_cache warnings removed. diff -r 919d230ecdbe -r e65be17e3a3e src/http/modules/ngx_http_fastcgi_module.c --- a/src/http/modules/ngx_http_fastcgi_module.c Mon Sep 23 15:58:28 2013 -0700 +++ b/src/http/modules/ngx_http_fastcgi_module.c Fri Sep 27 16:50:13 2013 +0400 @@ -2347,12 +2347,6 @@ ngx_conf_merge_ptr_value(conf->upstream.no_cache, prev->upstream.no_cache, NULL); - if (conf->upstream.no_cache && conf->upstream.cache_bypass == NULL) { - ngx_log_error(NGX_LOG_WARN, cf->log, 0, - "\"fastcgi_no_cache\" functionality has been changed in 0.8.46, " - "now it should be used together with \"fastcgi_cache_bypass\""); - } - ngx_conf_merge_ptr_value(conf->upstream.cache_valid, prev->upstream.cache_valid, NULL); diff -r 919d230ecdbe -r e65be17e3a3e src/http/modules/ngx_http_proxy_module.c --- a/src/http/modules/ngx_http_proxy_module.c Mon Sep 23 15:58:28 2013 -0700 +++ b/src/http/modules/ngx_http_proxy_module.c Fri Sep 27 16:50:13 2013 +0400 @@ -2697,12 +2697,6 @@ ngx_conf_merge_ptr_value(conf->upstream.no_cache, prev->upstream.no_cache, NULL); - if (conf->upstream.no_cache && conf->upstream.cache_bypass == NULL) { - ngx_log_error(NGX_LOG_WARN, cf->log, 0, - "\"proxy_no_cache\" functionality has been changed in 0.8.46, " - "now it should be used together with \"proxy_cache_bypass\""); - } - ngx_conf_merge_ptr_value(conf->upstream.cache_valid, prev->upstream.cache_valid, NULL);