Skip to content

Commit

Permalink
Fix #77938: socket_get_option error
Browse files Browse the repository at this point in the history
Since tcp_socket/ssl streams are not representable, we suppress the
redirect to fix the test case.
  • Loading branch information
cmb69 committed Apr 24, 2019
1 parent 5d21a15 commit fe202d9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ if (!extension_loaded("sockets")) die("skip: need sockets");
$ctxt = stream_context_create([
"socket" => [
"tcp_nodelay" => true
],
"http" => [
"follow_location" => 0
]
]);

Expand Down

0 comments on commit fe202d9

Please sign in to comment.