Skip to content

Commit fe202d9

Browse files
committed
Fix #77938: socket_get_option error
Since tcp_socket/ssl streams are not representable, we suppress the redirect to fix the test case.
1 parent 5d21a15 commit fe202d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/standard/tests/streams/stream_context_tcp_nodelay_fopen.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ if (!extension_loaded("sockets")) die("skip: need sockets");
1010
$ctxt = stream_context_create([
1111
"socket" => [
1212
"tcp_nodelay" => true
13+
],
14+
"http" => [
15+
"follow_location" => 0
1316
]
1417
]);
1518

0 commit comments

Comments
 (0)