aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2014-08-18 12:03:41 +0400
committerSergey Kandaurov <pluknet@nginx.com>2014-08-18 12:03:41 +0400
commit3ed0e11d083ce8933ae4877e37b0bad0014abf26 (patch)
tree1e8050d57b7016931101ad69ff8284e9a8810816 /src
parent886ad0e9d318ad5c9211957d66acd2f08e973110 (diff)
downloadnginx-3ed0e11d083ce8933ae4877e37b0bad0014abf26.tar.gz
nginx-3ed0e11d083ce8933ae4877e37b0bad0014abf26.zip
Image filter: downgrade strong etags to weak ones as needed.
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_image_filter_module.c1
1 files changed, 1 insertions, 0 deletions
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;
}