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:
Nikita Popov 2021-01-04 14:31:42 +01:00
parent 65f14b0d6c
commit af7445b9ac

View File

@ -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);