Welcome! Log In Create A New Profile

Advanced

[nginx] Upstream: proxy_no_cache, fastcgi_no_cache warnings remo...

Maxim Dounin
September 27, 2013 08:56AM
details: http://hg.nginx.org/nginx/rev/e65be17e3a3e
branches:
changeset: 5391:e65be17e3a3e
user: Maxim Dounin <mdounin@mdounin.ru>
date: Fri Sep 27 16:50:13 2013 +0400
description:
Upstream: proxy_no_cache, fastcgi_no_cache warnings removed.

diffstat:

src/http/modules/ngx_http_fastcgi_module.c | 6 ------
src/http/modules/ngx_http_proxy_module.c | 6 ------
2 files changed, 0 insertions(+), 12 deletions(-)

diffs (32 lines):

diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -2347,12 +2347,6 @@ ngx_http_fastcgi_merge_loc_conf(ngx_conf
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 --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -2697,12 +2697,6 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t
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);


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Upstream: proxy_no_cache, fastcgi_no_cache warnings remo...

Maxim Dounin 990 September 27, 2013 08:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready