Caucho Forums

Caucho Forums (http://forum.caucho.com//index.php)
-   Resin (http://forum.caucho.com//forumdisplay.php?f=4)
-   -   Web Socket Disconnect (http://forum.caucho.com//showthread.php?t=32761)

troiter 01-21-2014 11:55 AM

Web Socket Disconnect
 
It seems the web socket implementation doesn't acknowledge ping control frames. I noticed the WebSocketContext API exposes a pong() method, but the RFC indicates that you must pong with the same exact message from the received ping. I see no way to listen for these types of control frames in order to be able to respond.

I've been playing around with resin-4.0.38 and when hitting my web app in Chrome, the websocket gets disconnected after 2 minutes due to the server not acknowledging a ping request with a pong.

Please let me know if I'm missing something or if this indeed a bug.

Thanks!


All times are GMT. The time now is 03:05 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.