[php-src] Issue #9959: php-fpm Solaris port event mechanism is still broken after #66694
| From: | psumbera | Date: | Tue, 15 Nov 2022 15:08:12 +0000 |
| Subject: | [php-src] Issue #9959: php-fpm Solaris port event mechanism is still broken after #66694 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242828@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9959
Author: psumbera
### Description
My original testing here was wrong:
https://github.com/php/php-src/pull/6913#issuecomment-831868732
The easy test case is:
```
php-fpm -F -e -O
[15-Nov-2022 14:28:16] NOTICE: fpm is running, pid 2127
[15-Nov-2022 14:28:16] NOTICE: ready to handle connections
^C[15-Nov-2022 14:28:18] NOTICE: Terminating ...
[15-Nov-2022 14:28:18] NOTICE: exiting, bye-bye!
```
Note now it just never ends after displaying "Terminating ..."
The issue is that it needs re-register for new event as it was suggested there (above - to add call
to fpm_event_port_add()).
### PHP Version
PHP 8.1.12
### Operating System
Solaris 11.4