]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
* Handle the cases "no proxy request" and "reverse proxy request" in the same
authorRuediger Pluem <rpluem@apache.org>
Wed, 17 May 2006 19:16:43 +0000 (19:16 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 17 May 2006 19:16:43 +0000 (19:16 +0000)
commita3d86dbf15c0c21d899deb13e73ae8843eb3e675
tree7bf4b96a50d8996e808c3123f6c7b41264836f94
parent0552ebe48385e203691b98c2bd12e166277cd43f
* Handle the cases "no proxy request" and "reverse proxy request" in the same
  manner, when setting scheme and port_str. This is needed because 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.
  Also set scheme to ap_http_scheme(r) instead of "http" to handle SSL
  correctly.

PR: 39593

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