File tree 2 files changed +6
-2
lines changed 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ PHP NEWS
11
11
. Fixed bug #77812 (Interactive mode does not support PHP 7.3-style heredoc).
12
12
(cmb, Nikita)
13
13
14
+ - FastCGI:
15
+ . Fixed bug #78469 (FastCGI on_accept hook is not called when using named
16
+ pipes on Windows). (Sergei Turchanov)
17
+
14
18
- FPM:
15
19
. Fixed bug #78334 (fpm log prefix message includes wrong stdout/stderr
16
20
notation). (Tsuyoshi Sadakata)
Original file line number Diff line number Diff line change @@ -1373,6 +1373,8 @@ int fcgi_accept_request(fcgi_request *req)
1373
1373
if (in_shutdown ) {
1374
1374
return -1 ;
1375
1375
}
1376
+
1377
+ req -> hook .on_accept ();
1376
1378
#ifdef _WIN32
1377
1379
if (!req -> tcp ) {
1378
1380
pipe = (HANDLE )_get_osfhandle (req -> listen_socket );
@@ -1403,8 +1405,6 @@ int fcgi_accept_request(fcgi_request *req)
1403
1405
sa_t sa ;
1404
1406
socklen_t len = sizeof (sa );
1405
1407
1406
- req -> hook .on_accept ();
1407
-
1408
1408
FCGI_LOCK (req -> listen_socket );
1409
1409
req -> fd = accept (listen_socket , (struct sockaddr * )& sa , & len );
1410
1410
FCGI_UNLOCK (req -> listen_socket );
You can’t perform that action at this time.
0 commit comments