com php-src: Merge branch 'pull-request/2097': sapi/fpm/fpm/fpm _request.c
| From: | Joe Watkins | Date: | Mon, 17 Oct 2016 15:05:32 +0000 |
| Subject: | com php-src: Merge branch 'pull-request/2097': sapi/fpm/fpm/fpm _request.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95150@lists.php.net to get a copy of this message | ||
Commit: caa9ed28ccb2f2729abfc7dac5d0055d9c298769
Author: Joe Watkins <krakjoe@php.net> Mon, 17 Oct 2016 15:59:51 +0100
Parents: 858531661b03cb2540c6309df1ff61ae434475bc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=caa9ed28ccb2f2729abfc7dac5d0055d9c298769
Log:
Merge branch 'pull-request/2097'
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 ec8601b..3f82a7d 100644
--- a/sapi/fpm/fpm/fpm_request.c
+++ b/sapi/fpm/fpm/fpm_request.c
@@ -262,8 +262,9 @@ void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *now,
fpm_trace_signal(child->pid);
- zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s
%s\") executing too slow (%d.%06d sec), logging",
+ zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s
%s%s%s\") executing too slow (%d.%06d sec), logging",
child->wp->config->name, (int) child->pid, purified_script_filename,
proc.request_method, proc.request_uri,
+ (proc.query_string[0] ? "?" : ""), proc.query_string,
(int) tv.tv_sec, (int) tv.tv_usec);
}
else
@@ -272,8 +273,9 @@ void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *now,
str_purify_filename(purified_script_filename, proc.script_filename,
sizeof(proc.script_filename));
fpm_pctl_kill(child->pid, FPM_PCTL_TERM);
- zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s
%s\") execution timed out (%d.%06d sec), terminating",
+ zlog(ZLOG_WARNING, "[pool %s] child %d, script '%s' (request: \"%s
%s%s%s\") execution timed out (%d.%06d sec), terminating",
child->wp->config->name, (int) child->pid, purified_script_filename,
proc.request_method, proc.request_uri,
+ (proc.query_string[0] ? "?" : ""), proc.query_string,
(int) tv.tv_sec, (int) tv.tv_usec);
}
}