Skip to content

Commit 0b5de30

Browse files
committed
Use another for bug51056.phpt
This port is already used by san_ipv6_peer_matching.phpt, wo we choose another port which is not explicitly used in our test suite. The proper solution would be to use ephemeral ports[1], but our OpenSSL `ServerClientTestCase` does not support this yet. [1] <6ab4e33> Closes GH-16871.
1 parent ff95138 commit 0b5de30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/tests/streams/bug51056.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Bug #51056 (fread() on blocking stream will block even if data is available)
44
<?php
55

66
$serverCode = <<<'CODE'
7-
$server = stream_socket_server('tcp://127.0.0.1:64324');
7+
$server = stream_socket_server('tcp://127.0.0.1:64327');
88
phpt_notify();
99
1010
$conn = stream_socket_accept($server);
@@ -23,7 +23,7 @@ $clientCode = <<<'CODE'
2323
2424
phpt_wait();
2525
26-
$fp = fsockopen("tcp://127.0.0.1:64324");
26+
$fp = fsockopen("tcp://127.0.0.1:64327");
2727
2828
while (!feof($fp)) {
2929
$data = fread($fp, 256);

0 commit comments

Comments
 (0)