Skip to content

Commit

Permalink
fix header
Browse files Browse the repository at this point in the history
  • Loading branch information
sainrew authored Dec 12, 2016
1 parent 5ec2821 commit bd0e4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Daemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function _handshake($connectionId) {
$upgrade = "HTTP/1.1 101 Web Socket Protocol Handshake\r\n" .
"Upgrade: websocket\r\n" .
"Connection: Upgrade\r\n" .
"Sec-WebSocket-Accept:$SecWebSocketAccept\r\n\r\n";
"Sec-WebSocket-Accept: {$SecWebSocketAccept}\r\n\r\n";

$this->_write($connectionId, $upgrade);
unset($this->_handshakes[$connectionId]);
Expand Down

0 comments on commit bd0e4b9

Please sign in to comment.