[php-src] Issue #8472: The resource returned by stream_socket_accept may have incorrect metadata

From: Date: Mon, 02 May 2022 10:53:51 +0000
Subject: [php-src] Issue #8472: The resource returned by stream_socket_accept may have incorrect metadata
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241371@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8472 Comment Author: bwoebi The problem lies within php_tcp_sockop_accept / php_openssl_tcp_sockop_accept which unconditionally inherits the properties from the server socket. I.e. if the server socket is non-blocking, the client socket will be marked non-blocking as well, without actually being non-blocking.

« previous php.bugs (#241371) next »