1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Propagate bind error for stream_socket_server()

When stream_socket_server() fails during bind(), we're currently only showing
"Unknown error" in the error message. Properly propagate this error for better
diagnostics.

Closes GH-21328
This commit is contained in:
Ilija Tovilo
2026-03-03 13:37:04 +01:00
parent f44609c84d
commit 0039af028c
3 changed files with 26 additions and 1 deletions

1
NEWS
View File

@@ -145,6 +145,7 @@ PHP NEWS
. Allowed filtered streams to be casted as fd for select. (Jakub Zelenka)
. Fixed bug GH-21221 (Prevent closing of innerstream of php://temp stream).
(ilutov)
. Improved stream_socket_server() bind failure error reporting. (ilutov)
- Zip:
. Fixed ZipArchive callback being called after executor has shut down.