Skip to content

Commit ba4a1f2

Browse files
author
Sterling Hughes
committed
Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>)
1 parent adb7986 commit ba4a1f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sapi/apache2filter/sapi_apache2.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ static int php_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
315315
void *conf = ap_get_module_config(f->r->per_dir_config, &php4_module);
316316
TSRMLS_FETCH();
317317

318+
if (f->r->proxyreq) {
319+
return ap_pass_brigade(f->next, bb);
320+
}
321+
318322
ctx = SG(server_context);
319323
INIT_CTX;
320324

0 commit comments

Comments
 (0)