File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ PHP NEWS
1111 . Fixed bug #77812 (Interactive mode does not support PHP 7.3-style heredoc).
1212 (cmb, Nikita)
1313
14+ - FastCGI:
15+ . Fixed bug #78469 (FastCGI on_accept hook is not called when using named
16+ pipes on Windows). (Sergei Turchanov)
17+
1418- FPM:
1519 . Fixed bug #78334 (fpm log prefix message includes wrong stdout/stderr
1620 notation). (Tsuyoshi Sadakata)
Original file line number Diff line number Diff line change @@ -1373,6 +1373,8 @@ int fcgi_accept_request(fcgi_request *req)
13731373 if (in_shutdown ) {
13741374 return -1 ;
13751375 }
1376+
1377+ req -> hook .on_accept ();
13761378#ifdef _WIN32
13771379 if (!req -> tcp ) {
13781380 pipe = (HANDLE )_get_osfhandle (req -> listen_socket );
@@ -1403,8 +1405,6 @@ int fcgi_accept_request(fcgi_request *req)
14031405 sa_t sa ;
14041406 socklen_t len = sizeof (sa );
14051407
1406- req -> hook .on_accept ();
1407-
14081408 FCGI_LOCK (req -> listen_socket );
14091409 req -> fd = accept (listen_socket , (struct sockaddr * )& sa , & len );
14101410 FCGI_UNLOCK (req -> listen_socket );
You can’t perform that action at this time.
0 commit comments