summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2016-06-02 14:16:32 +0800
committerXinchen Hui <laruence@gmail.com>2016-06-02 14:16:32 +0800
commit31ce3a661a04ec8addd8b0ede4af2d336646d0ec (patch)
tree283639ff6dafab0003561f3bc25bd9f2312e08a1 /sapi
parent51cb58e7092afe794b56e575e3c18ae23d7905ee (diff)
downloadphp-git-31ce3a661a04ec8addd8b0ede4af2d336646d0ec.tar.gz
Fixed bug #72308 (fastcgi_finish_request and logging environment variables)
Diffstat (limited to 'sapi')
-rw-r--r--sapi/fpm/fpm/fpm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c
index 940d6c788d..5adeb63b7a 100644
--- a/sapi/fpm/fpm/fpm_main.c
+++ b/sapi/fpm/fpm/fpm_main.c
@@ -1538,7 +1538,7 @@ PHP_FUNCTION(fastcgi_finish_request) /* {{{ */
php_header();
fcgi_flush(request, 1);
- fcgi_close(request, 0, 1);
+ fcgi_close(request, 0, 0);
RETURN_TRUE;
}