com php-src: Fixed bug #70279 (HTTP Authorization Header is sometimes passed to newer reqeusts): NEWS sapi/fpm/fpm/fpm_main.c
| From: | Xinchen Hui | Date: | Tue, 22 Sep 2015 07:28:53 +0000 |
| Subject: | com php-src: Fixed bug #70279 (HTTP Authorization Header is sometimes passed to newer reqeusts): NEWS sapi/fpm/fpm/fpm_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89100@lists.php.net to get a copy of this message | ||
Commit: 1d6228b46a9440a99eca42718a5a76dcd3e0aa12
Author: Xinchen Hui <laruence@gmail.com> Tue, 22 Sep 2015 15:28:53 +0800
Parents: 0f3ab1c2d03c27ebee0156cd8bfbb1c5721d9f32
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1d6228b46a9440a99eca42718a5a76dcd3e0aa12
Log:
Fixed bug #70279 (HTTP Authorization Header is sometimes passed to newer reqeusts)
Bugs:
https://bugs.php.net/70279
Changed paths:
M NEWS
M sapi/fpm/fpm/fpm_main.c
Diff:
diff --git a/NEWS b/NEWS
index dec9a66..63b3da5 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ PHP NEWS
- FPM:
. Fixed bug #70538 ("php-fpm -i" crashes). (rainer dot jung at
kippdata dot de)
+ . Fixed bug #70279 (HTTP Authorization Header is sometimes passed to newer
+ reqeusts). (Laruence)
- OpenSSL
. Require at least OpenSSL version 0.9.8. (Jakub Zelenka)
diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c
index ca478b3..4501e91 100644
--- a/sapi/fpm/fpm/fpm_main.c
+++ b/sapi/fpm/fpm/fpm_main.c
@@ -1514,7 +1514,7 @@ PHP_FUNCTION(fastcgi_finish_request) /* {{{ */
php_header();
fcgi_flush(request, 1);
- fcgi_close(request, 0, 0);
+ fcgi_close(request, 0, 1);
RETURN_TRUE;
}