[php-src] PR #14606: ext/sockets: socket_accept setting fcntl's FD_CLOEXEC on unixes.
| From: | devnexen | Date: | Wed, 19 Jun 2024 18:23:01 +0000 |
| Subject: | [php-src] PR #14606: ext/sockets: socket_accept setting fcntl's FD_CLOEXEC on unixes. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26737@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14606
Author: devnexen
mainly for scenarios when pcntl_fork/pcntl_exec are involved so when the latter is executed, we
avoid unwarranted effects with the file descriptors, instead the socket will be closed on success.