]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1721899 from trunk:
authorJim Jagielski <jim@apache.org>
Thu, 18 Feb 2016 15:05:46 +0000 (15:05 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 18 Feb 2016 15:05:46 +0000 (15:05 +0000)
commit1d08cd134de8ba2b94a0eaa8854142a7d78a50c7
tree85d943e8577a1ad046fe1ee0c0599054bfdcde05
parent3564b9061c73a443ef3e93d25c5c1c4fedca4af1
Merge r1721899 from trunk:

mod_cache_socache: Fix a possible cached entity body corruption when it
is received from an origin server in multiple batches and forwarded by
mod_proxy.

Upstream buckets should be setaside when saving response body (store_body),
but since those will finally be flatten in the cache buffer (commit_entity),
let's save them directly into the buffer to avoid heap allocation(s) and
the final copy.

Reported by: Mike Pastore <mike oobak.org>

Submitted by: ylavic
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1731082 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
STATUS
modules/cache/mod_cache_socache.c