From 3ed0e11d083ce8933ae4877e37b0bad0014abf26 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 18 Aug 2014 12:03:41 +0400 Subject: [PATCH] Image filter: downgrade strong etags to weak ones as needed. --- src/http/modules/ngx_http_image_filter_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/modules/ngx_http_image_filter_module.c b/src/http/modules/ngx_http_image_filter_module.c index c983b973b..bd7a30970 100644 --- a/src/http/modules/ngx_http_image_filter_module.c +++ b/src/http/modules/ngx_http_image_filter_module.c @@ -1012,6 +1012,7 @@ transparent: b->last_buf = 1; ngx_http_image_length(r, b); + ngx_http_weak_etag(r); return b; }