[php-src] PR #11708: Set CLOEXEC on listened sockets when forking FPM children
| From: | mikhainin | Date: | Fri, 14 Jul 2023 17:57:29 +0000 |
| Subject: | [php-src] PR #11708: Set CLOEXEC on listened sockets when forking FPM children | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23052@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11708
Author: mikhainin
It doesn't look like a good idea to invoke fork() from the FPM worker but sometimes people may
do this. If this happens, the socket may leak into the new process and break something.
The socket still can be accessed via
fopren('php://fd/<FD>') but not
sure if we can/should do anything about that