commit | 3ed0e11d083ce8933ae4877e37b0bad0014abf26 | [log] [tgz] |
---|---|---|
author | Sergey Kandaurov <pluknet@nginx.com> | Mon Aug 18 12:03:41 2014 +0400 |
committer | Sergey Kandaurov <pluknet@nginx.com> | Mon Aug 18 12:03:41 2014 +0400 |
tree | 1e8050d57b7016931101ad69ff8284e9a8810816 | |
parent | 886ad0e9d318ad5c9211957d66acd2f08e973110 [diff] |
Image filter: downgrade strong etags to weak ones as needed.
diff --git a/src/http/modules/ngx_http_image_filter_module.c b/src/http/modules/ngx_http_image_filter_module.c index c983b97..bd7a309 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 @@ b->last_buf = 1; ngx_http_image_length(r, b); + ngx_http_weak_etag(r); return b; }