]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r367798 from trunk:
authorRuediger Pluem <rpluem@apache.org>
Sat, 4 Feb 2006 21:38:15 +0000 (21:38 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 4 Feb 2006 21:38:15 +0000 (21:38 +0000)
commit83232613a754ec8f569552a4f1adbee14e77f8e4
treeb92a8f89b19478384681ef057848b85b4e50758d
parent101b0cbede07825f2878bcdf890eabc4993dab27
Merge r367798 from trunk:

* 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.

PR: 38017
Submitted by: rpluem
Reviewed by: rpluem, wrowe, colm

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@374931 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/cache/cache_storage.c