http://www.w3.org/Bugs/Public/show_bug.cgi?id=13104
Iñaki Baz Castillo i...@aliax.net changed:
What|Removed |Added
Status|RESOLVED|REOPENED
CC||i...@aliax.net
Resolution|NEEDSINFO |
--- Comment #3 from Iñaki Baz Castillo i...@aliax.net 2011-09-12 19:00:00 UTC
---
(In reply to comment #2)
What's the use case?
In case the network connection goes down (for example the ADSL dies), the
WebSocket client could not realize of it until it attempts to send a new WS
frame (it happens sometimes because there is not a TCP disconnection).
By sending periodical WS Ping frames from client to server, the client could
realize of the network issue in a reasonable time.
As a suggestion, the WS API could include an interval for sending Ping frames
to the server:
var myWebSocket = new WebSocket(ws://some-domain.com);
myWebSocket.set_monitor_interval(120);
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.