summaryrefslogtreecommitdiff
path: root/ext/standard/tests/streams
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-04-25 00:03:45 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-04-25 00:03:45 +0200
commitfe202d99c8fff957509375411641687f47dfc17b (patch)
tree6b70d3c9dc2b3e086f777fdd42b1fff5784f3483 /ext/standard/tests/streams
parent5d21a15cc34832546f99eb66a27b1adb25b84fb5 (diff)
downloadphp-git-fe202d99c8fff957509375411641687f47dfc17b.tar.gz
Fix #77938: socket_get_option error
Since tcp_socket/ssl streams are not representable, we suppress the redirect to fix the test case.
Diffstat (limited to 'ext/standard/tests/streams')
-rw-r--r--ext/standard/tests/streams/stream_context_tcp_nodelay_fopen.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/tests/streams/stream_context_tcp_nodelay_fopen.phpt b/ext/standard/tests/streams/stream_context_tcp_nodelay_fopen.phpt
index 3f4fc48667..7142dae73b 100644
--- a/ext/standard/tests/streams/stream_context_tcp_nodelay_fopen.phpt
+++ b/ext/standard/tests/streams/stream_context_tcp_nodelay_fopen.phpt
@@ -10,6 +10,9 @@ if (!extension_loaded("sockets")) die("skip: need sockets");
$ctxt = stream_context_create([
"socket" => [
"tcp_nodelay" => true
+ ],
+ "http" => [
+ "follow_location" => 0
]
]);