[php-src] PR #13026: cgi: tidy up fastcgi_cleanup signal handler
| From: | crrodriguez | Date: | Mon, 25 Dec 2023 22:22:13 +0000 |
| Subject: | [php-src] PR #13026: cgi: tidy up fastcgi_cleanup signal handler | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24600@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13026
Author: crrodriguez
* signal handlers can only touch global volatile sig_atomic_t variables.
* fastcgi_cleanup is static
* structs sigaction are static
* A signal handler cannot call exit() because it is not async signal safe. call _exit instead.