[PR][php-src][#995][PHP-5.5] - Fix bug #68822 php-fpm - the result of access log is wrong when use fastcgi_finish_request

From: Date: Mon, 16 Feb 2015 12:38:35 +0000
Subject: [PR][php-src][#995][PHP-5.5] - Fix bug #68822 php-fpm - the result of access log is wrong when use fastcgi_finish_request
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-2343@lists.php.net to get a copy of this message
You can view the Pull Request on github: https://github.com/php/php-src/pull/995 Pull Request Description: the bug is here: https://bugs.php.net/bug.php?id=68822 When I use fastcgi_finish_request in php script, I find the result of access log is wrong I read the php-src, whe use fastcgi_finish_request, it will call fpm_request_finished(it will clean the value of proc->accepted_epoch && proc->accepted ). But, fpm_log_write need proc->accepted_epoch && proc->accepted to print the log The process is like this: ```` main -> php_execute_script -> fastcgi_finish_request -> fcgi_close -> fpm_request_finished -> fpm_request_end -> fpm_log_write ```` So, I think it is a bug. By the way,although my PR can solve the problem, but I think it is not very good. -_-||

« previous php.git-pulls (#2343) next »