gimite / web-socket-js

HTML5 Web Socket implementation powered by Flash
BSD 3-Clause "New" or "Revised" License
2.73k stars 489 forks source link

Fix sending frames greater than 16K over SSL. #125

Closed jamadden closed 11 years ago

jamadden commented 11 years ago

As remarked on in the original TLS source at http://code.google.com/p/as3crypto/issues/detail?id=14 , it's not possible to send frames that are greater than 16k in size: the remote server receives a truncated frame which typically results in dropping the WebSocket connection.

This applies the patch referenced in that issue; testing in IE9 with Flash Player 11.4.402.287 seems to show the issue is resolved. The recompiled SWF files are included as compiled with Flex 4.6 (the only SDK I could find).

gimite commented 11 years ago

Thanks for the patch. Pulled.