summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Loyet <fat@php.net>2012-01-04 21:18:26 +0000
committerJérôme Loyet <fat@php.net>2012-01-04 21:18:26 +0000
commitb9fab77d13c87ff8dd2be6abde128ac4dab8b900 (patch)
treee2722e6454f2ed8eca8dfff6e52b3207f1864f0f
parente6ca31057efda67fdf9daff2baf6502adbb0bbb4 (diff)
downloadphp-git-b9fab77d13c87ff8dd2be6abde128ac4dab8b900.tar.gz
- Fixed bug #60659 (FPM does not clear auth_user on request accept)
-rw-r--r--NEWS1
-rw-r--r--sapi/fpm/fpm/fpm_request.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ed32ed3caf..c804de9cef 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,7 @@ PHP NEWS
- PHP-FPM SAPI:
. Fixed bug #60629 (memory corruption when web server closed the fcgi fd).
(fat)
+ . Fixed bug #60659 (FPM does not clear auth_user on request accept). (fat)
08 Dec 2011, PHP 5.3.9RC3
diff --git a/sapi/fpm/fpm/fpm_request.c b/sapi/fpm/fpm/fpm_request.c
index 7b9e0f7679..28332d0a92 100644
--- a/sapi/fpm/fpm/fpm_request.c
+++ b/sapi/fpm/fpm/fpm_request.c
@@ -92,6 +92,8 @@ void fpm_request_reading_headers() /* {{{ */
proc->request_method[0] = '\0';
proc->script_filename[0] = '\0';
proc->query_string[0] = '\0';
+ proc->query_string[0] = '\0';
+ proc->auth_user[0] = '\0';
proc->content_length = 0;
fpm_scoreboard_proc_release(proc);