mxcl/MBWebSocketServer — pull request #7 by tool (2013-03-08 08:52:12+00:00)
Title: [FIX] Issue #6 (Delegate receives too much unmasked data)

The unmasked NSData that are being allocated in socket:didReadData:withTag: (tag = 6) isn't cut to it's correct size before sending it to the delegate. Therefore the delegate method, webSocketServer:didReceiveData:fromConnection:, gets called with too much data (= unmaskedData + waste data).