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

Message size restrictions #106

Closed pavlovmike closed 12 years ago

pavlovmike commented 12 years ago

Hi! I'm sending message about 4 Kb size from client side, after that I've got websocket close Are there any restrictions on message size?

gimite commented 12 years ago

No, 4KB should be fine. I tried with sample.html (attached in web-socket-js) + em-websocket as server and it worked fine with 4KB and 10KB message. See "Troubleshooting" section here for steps you can follow to track down the issue: https://github.com/gimite/web-socket-js Especially please try with Chrome. If it has same issue with Chrome, it's likely an issue in server side or your code. Also, please try latest version of web-socket-js if you haven't.

gimite commented 12 years ago

Closing for now. Please reopen with more information pointed above if this is still an issue.