diff options
author | Antony Dovgal <tony2001@php.net> | 2010-01-27 14:42:57 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2010-01-27 14:42:57 +0000 |
commit | ba75007a04923ca468336c66e2d78f7545fe0f93 (patch) | |
tree | ab756ab8601f5db10959eee3592a4b56344ced5a | |
parent | cdf7b66636217127b3bf3c635d117521764a12d2 (diff) | |
download | php-git-ba75007a04923ca468336c66e2d78f7545fe0f93.tar.gz |
fix slowlog
-rw-r--r-- | sapi/fpm/fpm/fpm_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sapi/fpm/fpm/fpm_main.c b/sapi/fpm/fpm/fpm_main.c index a750521fb0..3f3ccecd36 100644 --- a/sapi/fpm/fpm/fpm_main.c +++ b/sapi/fpm/fpm/fpm_main.c @@ -1846,8 +1846,6 @@ fastcgi_request_done: } request_body_fd = -2; - STR_FREE(SG(request_info).path_translated); - if (EG(exit_status) == 255) { if (CGIG(error_header) && *CGIG(error_header)) { sapi_header_line ctr = {0}; @@ -1869,6 +1867,9 @@ fastcgi_request_done: SG(request_info).query_string = NULL; } + STR_FREE(SG(request_info).path_translated); + SG(request_info).path_translated = NULL; + requests++; if (max_requests && (requests == max_requests)) { fcgi_finish_request(&request, 1); |