]> granicus.if.org Git - apache/commit
mod_cache: follow up to r1591328.
authorYann Ylavic <ylavic@apache.org>
Wed, 14 May 2014 17:11:49 +0000 (17:11 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 14 May 2014 17:11:49 +0000 (17:11 +0000)
commitbaf4f92af0f97d8bc72460446d2384d849ae0cf3
tree296389468b29bada5c438d9d7e1697c01aff1705
parentf063241b1f77ebb4c367f420f7deccc9bdd0abfb
mod_cache: follow up to r1591328.

Define the cache_merge_headers_out() function to merge r->err_headers_out into
r->headers_out and add the ones from r->content_type/encoding if available.
Use it in ap_cache_cacheable_headers_out() where the same is done and in
cache_save_filter() where this has to be done before updating the entry.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1594643 13f79535-47bb-0310-9956-ffa450edef68
modules/cache/cache_util.c
modules/cache/cache_util.h
modules/cache/mod_cache.c