Skip to content

Commit ba75007

Browse files
committed
fix slowlog
1 parent cdf7b66 commit ba75007

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sapi/fpm/fpm/fpm_main.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,6 @@ consult the installation file that came with this distribution, or visit \n\
18461846
}
18471847
request_body_fd = -2;
18481848

1849-
STR_FREE(SG(request_info).path_translated);
1850-
18511849
if (EG(exit_status) == 255) {
18521850
if (CGIG(error_header) && *CGIG(error_header)) {
18531851
sapi_header_line ctr = {0};
@@ -1869,6 +1867,9 @@ consult the installation file that came with this distribution, or visit \n\
18691867
SG(request_info).query_string = NULL;
18701868
}
18711869

1870+
STR_FREE(SG(request_info).path_translated);
1871+
SG(request_info).path_translated = NULL;
1872+
18721873
requests++;
18731874
if (max_requests && (requests == max_requests)) {
18741875
fcgi_finish_request(&request, 1);

0 commit comments

Comments
 (0)