diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2014-08-18 12:03:41 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2014-08-18 12:03:41 +0400 |
commit | 3ed0e11d083ce8933ae4877e37b0bad0014abf26 (patch) | |
tree | 1e8050d57b7016931101ad69ff8284e9a8810816 /src | |
parent | 886ad0e9d318ad5c9211957d66acd2f08e973110 (diff) | |
download | nginx-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.c | 1 |
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; } |