[php-src] PR #20294: Fix GH-20240: FTP with SSL: ftp_fput(): Connection timed out on successful writes
| From: | nielsdos | Date: | Sat, 25 Oct 2025 20:08:11 +0000 |
| Subject: | [php-src] PR #20294: Fix GH-20240: FTP with SSL: ftp_fput(): Connection timed out on successful writes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33806@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20294
Author: nielsdos
Looking at the strace, the timeout is only 1s which may be too low anyway for checking for a
response, but some servers also don't end up replying finally anyway and close the connection
already.
data_available was originally used for non-blocking downloads/uploads and then reused
for the shutdown sequence, but its error handling was never adjusted to be silent.