com php-src: fix bug #68822 (request time is reset too early): sapi/fpm/fpm/fpm_request.c
| From: | Antony Dovgal | Date: | Mon, 16 Feb 2015 12:10:09 +0000 |
| Subject: | com php-src: fix bug #68822 (request time is reset too early): sapi/fpm/fpm/fpm_request.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84926@lists.php.net to get a copy of this message | ||
Commit: 3664345abac75aabedfbca061b0b7db5915de085
Author: redfoxli <honghu069@163.com> Tue, 13 Jan 2015 13:59:24 +0800
Committer: Antony Dovgal <tony2001@php.net> Mon, 16 Feb 2015 15:10:09 +0300
Parents: f86aa349eb068b6865c6d423054afe7f781f979e
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3664345abac75aabedfbca061b0b7db5915de085
Log:
fix bug #68822 (request time is reset too early)
this caused wrong time in the logs
Bugs:
https://bugs.php.net/68822
Changed paths:
M sapi/fpm/fpm/fpm_request.c
Diff:
diff --git a/sapi/fpm/fpm/fpm_request.c b/sapi/fpm/fpm/fpm_request.c
index bf431a0..ed7e7a8 100644
--- a/sapi/fpm/fpm/fpm_request..c
+++ b/sapi/fpm/fpm/fpm_request.c
@@ -221,8 +221,6 @@ void fpm_request_finished() /* {{{ */
proc->request_stage = FPM_REQUEST_FINISHED;
proc->tv = now;
- memset(&proc->accepted, 0, sizeof(proc->accepted));
- proc->accepted_epoch = 0;
fpm_scoreboard_proc_release(proc);
}
/* }}} */