[php-src] PR #25946: ext/sockets: Fix socket_close_stream_resource.phpt on Windows
| From: | jorgsowa | Date: | Mon, 30 Nov 2026 14:53:00 +0000 |
| Subject: | [php-src] PR #25946: ext/sockets: Fix socket_close_stream_resource.phpt on Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41256@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25946
Author: jorgsowa
socket_import_stream() fails on an unbound socket on Windows, as
getsockname() returns WSAEINVAL. Bind the socket first.
Similar fix https://github.com/php/php-src/commit/8771c265a43