You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
php#53: Fix async stream event optimization for TCP/UDP socket connections
Add missing asynchronous connection support for TCP/UDP sockets in php_tcp_sockop_connect.
Previously only Unix domain sockets used async when ZEND_ASYNC_IS_ACTIVE, while TCP/UDP
always used synchronous php_network_connect_socket_to_host.
Changes:
- Add php_stream parameter to php_network_connect_socket_to_host()
- Use network_async_connect_socket() when stream provided and ZEND_ASYNC_IS_ACTIVE
- Update FTP extension call (pass NULL to remain synchronous)
- Update socket streams call (pass stream to enable async)
0 commit comments