[php-src] PR #17193: Run stream_server_reneg_limit.phpt on Windows, too
| From: | cmb69 | Date: | Tue, 17 Dec 2024 14:27:20 +0000 |
| Subject: | [php-src] PR #17193: Run stream_server_reneg_limit.phpt on Windows, too | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30046@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17193
Author: cmb69
As is, the client code may block on Windows when trying to read STDERR; if that happens, neither the
openssl nor the php processes would be terminated, causing further issues for the test suite.
We fix this by using
stream_select() and only read if there is data available. This
may cause some delay until we hit the timeout, but it might be necessary to "empty"
STDERR.
---
Tackling #16086 piecemeal might be a better idea.