{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/bdf55e4b2948b8351e4536b1892e0c8c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"bdf55e4b2948b8351e4536b1892e0c8c","url":"https://api.github.com/users/gimite","login":"gimite","id":15363},"milestone":null,"labels":[],"assignee":null,"updated_at":"2011-10-29T20:57:22Z","comments":1,"closed_at":null,"url":"https://api.github.com/repos/GulDmitry/php-websocket-server/issues/1","body":"Hello,\r\n\r\nIt seems php-websocket-server applies masking to messages from server to client in hybi-10. The protocol says that it must not be masked:\r\nhttp://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10#section-4.1\r\n\r\n> Frames sent from the server to the client are not masked.\r\n\r\nI'm author of web-socket-js (Flash fallback implementation) and I got report that it doesn't work with php-websocket-server:\r\nhttps://github.com/gimite/web-socket-js/issues/102\r\nThis is because web-socket-js doesn't support masked message from server.\r\n\r\nChrome and Firefox accepts masked message because it was ambiguous whether masking is allowed in past spec, but they may disallow masking in future version.\r\n\r\nNote that message from client to server *must* be masked.","html_url":"https://github.com/GulDmitry/php-websocket-server/issues/1","number":1,"title":"Message from server to client must not be masked","id":2085825,"created_at":"2011-10-29T04:38:49Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/3d35bedeb76bb3c295fd87745e645b0b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3d35bedeb76bb3c295fd87745e645b0b","url":"https://api.github.com/users/GulDmitry","login":"GulDmitry","id":319897},"updated_at":"2011-10-29T20:57:22Z","url":"https://api.github.com/repos/GulDmitry/php-websocket-server/issues/comments/2566931","body":"Oh. Thanks for your report, my fail. :-( Fixed.","id":2566931,"created_at":"2011-10-29T20:57:22Z"}}