]> granicus.if.org Git - php/commitdiff
Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>)
authorSterling Hughes <sterling@php.net>
Sun, 19 Aug 2001 20:28:36 +0000 (20:28 +0000)
committerSterling Hughes <sterling@php.net>
Sun, 19 Aug 2001 20:28:36 +0000 (20:28 +0000)
sapi/apache2filter/sapi_apache2.c

index 8a916373d6075f78187301b56d85e087aa9c693d..026fe4dc54ae55adc86a0d55d1e5777a30932adf 100644 (file)
@@ -315,6 +315,10 @@ static int php_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
        void *conf = ap_get_module_config(f->r->per_dir_config, &php4_module);
        TSRMLS_FETCH();
 
+       if (f->r->proxyreq) {
+               return ap_pass_brigade(f->next, bb);
+       }
+
        ctx = SG(server_context);
        INIT_CTX;