[php-src] PR #22707: Fix flaky stream_socket_get_crypto_status handshake test

From: Date: Sun, 12 Jul 2026 15:16:02 +0000
Subject: [php-src] PR #22707: Fix flaky stream_socket_get_crypto_status handshake test
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36987@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22707 Author: bukka The test could intermittently fail because a non-blocking TLS handshake can complete in a single stream_socket_enable_crypto() call, so WANT_READ/WANT_WRITE was never observed and $sawWant stayed false. Route the connection through a plain TCP proxy that forwards the server handshake flight in fragments, forcing the client to see a partial TLS record and report WANT_READ at least once.

« previous php.git-pulls (#36987) next »