summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-12-12 17:19:11 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-12-12 17:19:11 +0000
commit1628eb107485e299f23326ee3653fe35bad6ddec (patch)
tree320e12605eeb91f70652849afe7d3119c27a29a9
parent844d63081cd3d22d5a6f5e6658db7443c33510d0 (diff)
downloadphp-git-1628eb107485e299f23326ee3653fe35bad6ddec.tar.gz
Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
-rw-r--r--sapi/apache2filter/sapi_apache2.c1
-rw-r--r--sapi/apache2handler/sapi_apache2.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c
index 5452b2c141..0f4231e9d6 100644
--- a/sapi/apache2filter/sapi_apache2.c
+++ b/sapi/apache2filter/sapi_apache2.c
@@ -398,7 +398,6 @@ static void php_apache_request_ctor(ap_filter_t *f, php_struct *ctx TSRMLS_DC)
apr_table_unset(f->r->headers_out, "Last-Modified");
apr_table_unset(f->r->headers_out, "Expires");
apr_table_unset(f->r->headers_out, "ETag");
- apr_table_unset(f->r->headers_in, "Connection");
if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(f->r))) {
auth = apr_table_get(f->r->headers_in, "Authorization");
php_handle_auth_data(auth TSRMLS_CC);
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index 0de6c76eb4..b8c4b79510 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -427,7 +427,6 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC)
apr_table_unset(r->headers_out, "Last-Modified");
apr_table_unset(r->headers_out, "Expires");
apr_table_unset(r->headers_out, "ETag");
- apr_table_unset(r->headers_in, "Connection");
if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) {
auth = apr_table_get(r->headers_in, "Authorization");
php_handle_auth_data(auth TSRMLS_CC);