diff options
author | Doug MacEachern <dougm@php.net> | 2001-08-19 21:07:50 +0000 |
---|---|---|
committer | Doug MacEachern <dougm@php.net> | 2001-08-19 21:07:50 +0000 |
commit | 4829b93fb2d157631ad88960b506aadf7e7769a0 (patch) | |
tree | 1c1858a5d54d283983fc6f44a0d1a0e53886a844 /sapi | |
parent | ba4a1f2df2363f06d4a67f7c899e1115b927bd80 (diff) | |
download | php-git-4829b93fb2d157631ad88960b506aadf7e7769a0.tar.gz |
php_input_filter needs to ignore proxy requests
else it swallows POST data that needs to be sent to the downstream server
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 026fe4dc54..89003f8a9e 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -248,6 +248,10 @@ static int php_input_filter(ap_filter_t *f, apr_bucket_brigade *bb, apr_status_t rv; TSRMLS_FETCH(); + if (f->r->proxyreq) { + return ap_get_brigade(f->next, bb, mode, readbytes); + } + ctx = SG(server_context); INIT_CTX; |