diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-04-25 00:03:45 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-04-25 00:03:45 +0200 |
commit | fe202d99c8fff957509375411641687f47dfc17b (patch) | |
tree | 6b70d3c9dc2b3e086f777fdd42b1fff5784f3483 | |
parent | 5d21a15cc34832546f99eb66a27b1adb25b84fb5 (diff) | |
download | php-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.
-rw-r--r-- | ext/standard/tests/streams/stream_context_tcp_nodelay_fopen.phpt | 3 |
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 ] ]); |