[php-src] Issue #19245: Success error message on TLS stream accept failure

From: Date: Sat, 26 Jul 2025 11:54:44 +0000
Subject: [php-src] Issue #19245: Success error message on TLS stream accept failure
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-250497@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/19245 Author: bukka ### Description This happens when the accept fails during enabling crypto. The following warning is shown: ``` PHP Warning: stream_socket_accept(): Accept failed: Success ``` This might be quite confusing and it is actually due to logic bug. The error message is just propagated from from the network accept call which is successful but it's not overwritten when when enabling crypto fails. ### PHP Version ```plain PHP 8.3+ ``` ### Operating System _No response_

« previous php.bugs (#250497) next »