]> granicus.if.org Git - apache/commitdiff
Proxy requests are not converted by us. They should be cached and delivered bit-identical
authorMartin Kraemer <martin@apache.org>
Tue, 29 Jun 2004 13:46:54 +0000 (13:46 +0000)
committerMartin Kraemer <martin@apache.org>
Tue, 29 Jun 2004 13:46:54 +0000 (13:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104079 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_charset_lite.c

index a2de2cd49366d6089ca2fb579000201336ab0b0d..08440557ee6fde7b0adc2b01217d6314ca61c9fb 100644 (file)
@@ -820,6 +820,9 @@ static apr_status_t xlate_out_filter(ap_filter_t *f, apr_bucket_brigade *bb)
         }
     }
 
+    /* catch proxy requests */
+    if (f->r->proxyreq) return DECLINED;
+
     /* Opening the output translation (this used to be done in the fixup hook,
      * but that was too early: a subsequent type modification, e.g., by a
      * CGI script, would go unnoticed. Now we do it in the filter itself.)