diff options
author | Ruediger Pluem <rpluem@apache.org> | 2006-01-10 21:34:11 +0000 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2006-01-10 21:34:11 +0000 |
commit | bb2af228cdf3372ce92a7764928b641751c32b61 (patch) | |
tree | 9f61dd2578c43721363c4e642c0c32212b867969 /CHANGES | |
parent | e6001bf74f5bab654b176a9857827f2926c07a43 (diff) | |
download | httpd-bb2af228cdf3372ce92a7764928b641751c32b61.tar.gz |
* Fix PR38017 by handling the selection of the hostname in the same way for
non proxied and reverse proxied requests.
We need to handle both cases in the same manner as for the reverse proxy
case we have the following situation:
If a cached entry is looked up by mod_cache's quick handler r->proxyreq
is still unset in the reverse proxy case as it only gets set in the
translate name hook (either by ProxyPass or mod_rewrite) which is run
after the quick handler hook. This is different to the forward proxy
case where it gets set before the quick handler is run (in the
post_read_request hook).
If a cache entry is created by the CACHE_SAVE filter we always have
r->proxyreq set correctly.
So we must ensure that in the reverse proxy case we use the same code
path and using the canonical name seems to be the right thing to do
in the reverse proxy case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@367798 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,9 @@ Changes with Apache 2.3.0 [Remove entries to the current 2.0 and 2.2 section below, when backported] + *) mod_cache: Make caching of reverse proxies possible again. PR 38017. + [Ruediger Pluem] + *) Refactored ap_read_request() to provide a foundation for nonblocking reads of requests. [Brian Pane] |