mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Merge branch 'PHP-7.4'
This commit is contained in:
commit
b5f5da4211
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ $serverCode = <<<'CODE'
|
|||
$serverUri = "ssl://127.0.0.1:64322";
|
||||
$serverFlags = STREAM_SERVER_BIND | STREAM_SERVER_LISTEN;
|
||||
$serverCtx = stream_context_create(['ssl' => [
|
||||
'local_cert' => '%s'
|
||||
'local_cert' => '%s',
|
||||
// Make sure the server side starts up successfully if the default security level is
|
||||
// higher. We want to test the error at the client side.
|
||||
'security_level' => 1,
|
||||
]]);
|
||||
|
||||
$server = stream_socket_server($serverUri, $errno, $errstr, $serverFlags, $serverCtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue