File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ PHP NEWS
23
23
- Filter:
24
24
. Fixed FILTER_FLAG_NO_RES_RANGE flag. (Yifan Tong)
25
25
26
+ - FPM:
27
+ . Fixed bug GH-7842 (Invalid OpenMetrics response format returned by FPM
28
+ status page. (Stefano Arlandini)
29
+
26
30
- Hash:
27
31
. Fixed bug GH-7759 (Incorrect return types for hash() and hash_hmac()).
28
32
(cmb)
Original file line number Diff line number Diff line change @@ -430,7 +430,8 @@ int fpm_status_handle_request(void) /* {{{ */
430
430
"phpfpm_max_children_reached %u\n"
431
431
"# HELP phpfpm_slow_requests The number of requests that exceeded your 'request_slowlog_timeout' value.\n"
432
432
"# TYPE phpfpm_slow_requests counter\n"
433
- "phpfpm_slow_requests %lu\n" ;
433
+ "phpfpm_slow_requests %lu\n"
434
+ "# EOF\n" ;
434
435
435
436
has_start_time = 0 ;
436
437
if (!full ) {
Original file line number Diff line number Diff line change @@ -241,7 +241,8 @@ class Status
241
241
"phpfpm_max_children_reached " . $ fields ['max children reached ' ] . "\n" .
242
242
"# HELP phpfpm_slow_requests The number of requests that exceeded your 'request_slowlog_timeout' value\. \n" .
243
243
"# TYPE phpfpm_slow_requests counter \n" .
244
- "phpfpm_slow_requests " . $ fields ['slow requests ' ] . ") " ;
244
+ "phpfpm_slow_requests " . $ fields ['slow requests ' ] . "\n" .
245
+ "# EOF) \n" ;
245
246
246
247
if (!preg_match ($ pattern , $ body )) {
247
248
echo "ERROR: Expected body does not match pattern \n" ;
You can’t perform that action at this time.
0 commit comments