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: Optimize network_async_set_socket_blocking to return bool
Changed network_async_set_socket_blocking from void to bool return type
to eliminate redundant EG(exception) checks. Function now returns false
on error instead of requiring separate exception checking.
Updated 3 call sites:
- php_sockop_write() in xp_socket.c
- sock_async_poll() in xp_socket.c
- network_async_accept_incoming() in network_async.c
This reduces code duplication and improves performance by combining
function call and error check into single conditional.
0 commit comments