Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_gzip_filter_module.c @ 5733:e491b26fa5a1
Entity tags: downgrade strong etags to weak ones as needed.
See http://mailman.nginx.org/pipermail/nginx-devel/2013-November/004523.html.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 26 Jun 2014 02:21:01 +0400 |
parents | c52a761a2029 |
children | 973fded4f461 |
comparison
equal
deleted
inserted
replaced
5732:d0ce06cb9be1 | 5733:e491b26fa5a1 |
---|---|
304 | 304 |
305 r->main_filter_need_in_memory = 1; | 305 r->main_filter_need_in_memory = 1; |
306 | 306 |
307 ngx_http_clear_content_length(r); | 307 ngx_http_clear_content_length(r); |
308 ngx_http_clear_accept_ranges(r); | 308 ngx_http_clear_accept_ranges(r); |
309 ngx_http_clear_etag(r); | 309 ngx_http_weak_etag(r); |
310 | 310 |
311 return ngx_http_next_header_filter(r); | 311 return ngx_http_next_header_filter(r); |
312 } | 312 } |
313 | 313 |
314 | 314 |