details:   http://hg.nginx.org/nginx/rev/8cdec62a7751
branches:  
changeset: 5806:8cdec62a7751
user:      Sergey Kandaurov <[email protected]>
date:      Mon Aug 18 12:03:41 2014 +0400
description:
Image filter: downgrade strong etags to weak ones as needed.

diffstat:

 src/http/modules/ngx_http_image_filter_module.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 79553cb77747 -r 8cdec62a7751 
src/http/modules/ngx_http_image_filter_module.c
--- a/src/http/modules/ngx_http_image_filter_module.c   Fri Aug 15 14:09:29 
2014 +0400
+++ b/src/http/modules/ngx_http_image_filter_module.c   Mon Aug 18 12:03:41 
2014 +0400
@@ -1012,6 +1012,7 @@ transparent:
     b->last_buf = 1;
 
     ngx_http_image_length(r, b);
+    ngx_http_weak_etag(r);
 
     return b;
 }

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to