[php-src] PR #24382: GH-23423: Return correct return value when write fails
| From: | Sjord | Date: | Sat, 17 Oct 2026 11:29:46 +0000 |
| Subject: | [php-src] PR #24382: GH-23423: Return correct return value when write fails | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39518@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24382
Author: Sjord
php_handle_aborted_connection did not always abort, i.e. if ignore_user_abort=1. So if sending fails
and ret is 0, then remaining is never decremented and this loops forever.
Fix https://github.com/php/php-src/issues/23423