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: Refactor network_async_await_stream_socket to use unified event handling
This commit addresses architectural inconsistencies in async socket event
management by unifying the approach used across the codebase.
Changes:
- Modified network_async_await_stream_socket() to accept php_stream* instead
of php_netstream_data_t*, enabling access to the standard Stream API
- Replaced direct ZEND_ASYNC_NEW_SOCKET_EVENT() calls with unified
php_stream_set_option(PHP_STREAM_OPTION_ASYNC_EVENT_HANDLE) approach
- Updated all call sites in xp_socket.c to pass stream instead of sock data
- Ensured consistent event handle creation/retrieval across all async operations
0 commit comments