]> git.ipfire.org Git - thirdparty/apache/httpd.git/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)
commit49565a6820bdfa01e880814c558939f7ff1674c3
tree296389468b29bada5c438d9d7e1697c01aff1705
parent33f24e49b81eded081c82baeff7405a2796921ed
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