comparison src/http/ngx_http_core_module.h @ 4746:4a18bf1833a9

Entity tags: clear on entity changes.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 07 Jul 2012 21:22:27 +0000
parents ed3d0cc6de5a
children 192f54280a7a
comparison
equal deleted inserted replaced
4745:4752060ca462 4746:4a18bf1833a9
553 if (r->headers_out.location) { \ 553 if (r->headers_out.location) { \
554 r->headers_out.location->hash = 0; \ 554 r->headers_out.location->hash = 0; \
555 r->headers_out.location = NULL; \ 555 r->headers_out.location = NULL; \
556 } 556 }
557 557
558 #define ngx_http_clear_etag(r) \
559 \
560 if (r->headers_out.etag) { \
561 r->headers_out.etag->hash = 0; \
562 r->headers_out.etag = NULL; \
563 }
564
558 565
559 #endif /* _NGX_HTTP_CORE_H_INCLUDED_ */ 566 #endif /* _NGX_HTTP_CORE_H_INCLUDED_ */