Re:Websocket gets an update - the details.
by wvenable on Friday June 04, 2010 @12:38AM
(#1403504)
A lot of bad protocols exist because people didn't think it through enough and a lot of bad protocols exist because people thought it through too much.
The security protocol does seem a little strange: putting numbers into the fields interspersed with random characters and spaces, taking the numbers and dividing them by the number of space characters, and using 2 fields to make harder. There's a lot of dancing here to ensure that the protocol is implemented correctly.
The protocol is a bit more readable here: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-...
The security protocol does seem a little strange: putting numbers into the fields interspersed with random characters and spaces, taking the numbers and dividing them by the number of space characters, and using 2 fields to make harder. There's a lot of dancing here to ensure that the protocol is implemented correctly.