We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eecaf05 + c2e81d3 commit 9fd3400Copy full SHA for 9fd3400
client/lib/class.websocket_client.php
@@ -72,7 +72,7 @@ public function connect($host, $port, $path, $origin = false)
72
{
73
$header.= "Sec-WebSocket-Origin: " . $origin . "\r\n";
74
}
75
- $header.= "Sec-WebSocket-Version: 13\r\n";
+ $header.= "Sec-WebSocket-Version: 13\r\n\r\n";
76
77
$this->_Socket = fsockopen($host, $port, $errno, $errstr, 2);
78
socket_set_timeout($this->_Socket, 0, 10000);
0 commit comments