Skip to content

Commit e61a8d5

Browse files
committed
MFH: Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
1 parent 8c0e356 commit e61a8d5

3 files changed

Lines changed: 1 addition & 2 deletions

File tree

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PHP 4 NEWS
77
(Jani)
88
- Fixed header handler in NSAPI SAPI module (header->replace was ignored,
99
send_default_content_type now sends value from php.ini). (Uwe Schindler)
10+
- Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia)
1011
- Fixed bug #26565 (strtotime("this month") resolving to the wrong month).
1112
(Jani)
1213
- Fixed bug #26564 (ncurses5 has headers in PREFIX/include/ncurses/). (Jani)

sapi/apache2filter/sapi_apache2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ static void php_apache_request_ctor(ap_filter_t *f, php_struct *ctx TSRMLS_DC)
397397
apr_table_unset(f->r->headers_out, "Last-Modified");
398398
apr_table_unset(f->r->headers_out, "Expires");
399399
apr_table_unset(f->r->headers_out, "ETag");
400-
apr_table_unset(f->r->headers_in, "Connection");
401400
if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(f->r))) {
402401
auth = apr_table_get(f->r->headers_in, "Authorization");
403402
php_handle_auth_data(auth TSRMLS_CC);

sapi/apache2handler/sapi_apache2.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC)
432432
apr_table_unset(r->headers_out, "Last-Modified");
433433
apr_table_unset(r->headers_out, "Expires");
434434
apr_table_unset(r->headers_out, "ETag");
435-
apr_table_unset(r->headers_in, "Connection");
436435
if (!PG(safe_mode) || (PG(safe_mode) && !ap_auth_type(r))) {
437436
auth = apr_table_get(r->headers_in, "Authorization");
438437
php_handle_auth_data(auth TSRMLS_CC);

0 commit comments

Comments
 (0)