mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Try to fix intermittent failures of stream_server_reneg_limit.phpt on macos
Make sure the server has started up before we try to connect to it.
This commit is contained in:
parent
65f14b0d6c
commit
af7445b9ac
@ -70,6 +70,8 @@ CODE;
|
||||
$serverCode = sprintf($serverCode, $certFile);
|
||||
|
||||
$clientCode = <<<'CODE'
|
||||
phpt_wait();
|
||||
|
||||
$cmd = 'openssl s_client -connect 127.0.0.1:64321';
|
||||
$descriptorSpec = [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]];
|
||||
$process = proc_open($cmd, $descriptorSpec, $pipes);
|
||||
|
Loading…
Reference in New Issue
Block a user