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

WebSocketMain not yet handling continuation frame #129

Open ken107 opened 11 years ago

ken107 commented 11 years ago

Hi

I'm testing on IE8 against Tomcat 7 running a simple websocket app. The connection is closed unexpectedly while receiving some data. In the log window it says "[WebSocket] Fail connection by client: code=1003 reason=Received continuation frame, which is not implemented."

I see in the flash code, we're not handling the OPCODE_CONTINUATION. Is there plan to implement this soon?

Thanks

gimite commented 11 years ago

Yeah that's not implemented. Hopefully I will implement it in the future, but I'm happy to accept pull request if someone implement it.

jamespeek commented 11 years ago

Hi What would be involved to add in this feature? We've got an app which is sending back reasonably large chunks of data which is facing this issue in IE9. We could either implementing paging of the data on the server side, but thought I'd ask how much effort you think would be required to add it to the flash fall back. Thanks

gimite commented 11 years ago

I'm not sure when I have time to implement it. It would be nice if someone implement it and sent pull request.

reklis commented 11 years ago

Is it an actionscript code change or a javascript code change? I don't think I have the proper tools to do an actionscript code change, but I could throw some javascript at you

gimite commented 11 years ago

It's ActionScript change. You just need a normal text editor and a free command line tool (Flex SDK) to code ActionScript.