Skip to content

Commit

Permalink
Merge pull request #29 from sainrew/master
Browse files Browse the repository at this point in the history
fix header
  • Loading branch information
morozovsk authored Dec 12, 2016
2 parents 5ec2821 + bd0e4b9 commit 5b9b136
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 5b9b136

Please sign in to comment.