Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changes in websocket-rfc. Server should not send masked frames. Fixed

  • Loading branch information...
commit 7283f34f9b126a3277c8091979be885a162f3669 1 parent 51085b9
@lemmingzshadow lemmingzshadow authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  server/lib/WebSocket/Connection.php
2  server/lib/WebSocket/Connection.php
@@ -247,7 +247,7 @@ private function handle($data)
return true;
- public function send($payload, $type = 'text', $masked = true)
+ public function send($payload, $type = 'text', $masked = false)
$encodedData = $this->hybi10Encode($payload, $type, $masked);
if(!$this->server->writeBuffer($this->socket, $encodedData))

1 comment on commit 7283f34


In regards to your switch to socket streams, I think that you just need to enable socket blocking, instead.

Please sign in to comment.
Something went wrong with that request. Please try again.