cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Sterling Hughes | Date: | Sun, 19 Aug 2001 20:28:36 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6954@lists.php.net to get a copy of this message | ||
sterling Sun Aug 19 16:28:36 2001 EDT
Modified files:
/php4/sapi/apache2filter sapi_apache2.c
Log:
Pass on proxy requests (fix by Doug MacEachern <dougm@covalent.net>)
Index: php4/sapi/apache2filter/sapi_apache2.c
diff -u php4/sapi/apache2filter/sapi_apache2.c:1.46 php4/sapi/apache2filter/sapi_apache2.c:1.47
--- php4/sapi/apache2filter/sapi_apache2.c:1.46 Fri Aug 17 21:59:38 2001
+++ php4/sapi/apache2filter/sapi_apache2.c Sun Aug 19 16:28:36 2001
@@ -315,6 +315,10 @@
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;