Commit Graph

11 Commits

Author SHA1 Message Date
Chris Boden
80124ec05e [WebSocket] Halt communication after closing frame
Also send closing frame in Hixie
2014-06-08 10:55:57 -04:00
Grégoire Pineau
c1754d302c CS (eof_ending) 2014-03-21 16:46:43 +01:00
Chris Boden
0be4299fd6 Docs 2013-03-31 11:44:10 -04:00
Chris Boden
ba8289c7d9 Minor updates 2013-01-05 13:04:43 -05:00
Chris Boden
491919f7dc [WebSocket] Connection API
All implementations of ConnectionInterface return themselves
2012-07-22 20:05:04 -04:00
Chris Boden
fbe1d1763b [WebSocket] Closing frame bug fix 2012-07-15 12:15:54 -04:00
Chris Boden
653d8fb482 [WebSocket] RFC Protocol Compliance
Refs #13
Fixed AB tests: 2.5, 4.*
RFC fails connections on bad control frames
2012-06-16 11:49:46 -04:00
Chris Boden
8770c361bc [WebSocket] Hixie refactoring
Created parent interface for messages and frames
Created Hixie Connection
Applied updated interfaces to Hixie versions
Removed __toString on msgs/frames since there could be 2-3 types returned
2012-06-14 15:07:52 -04:00
Chris Boden
f0a277cec9 [WebSocket] Cleanup
Removed some obsolete code
Handshakes always returns a response
2012-06-14 11:24:18 -04:00
Chris Boden
412f5c2d07 [WebSocket] Re-scoped variable
Protecting Frame::$data to prevent overflow error
Correct frame contents is fetched from ::getContents()
2012-06-14 10:54:26 -04:00
Chris Boden
1c34e12be8 [WebSocket] Separating responsibilities
Separated HandshakeNegotiator into HttpRequestParser and VersionManager
Moved WsConnection to Version specific Connection
2012-06-13 22:46:08 -04:00