Hi--
Does chrome respond to pings from servers with a pong opcode frame?
Regards
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/CA%2ByH71eGFOcsD%2Bm6-jXb%3D1tYyEKNX7Cjq66-kaJcCW3VhbsrCQ%40mail.gmail.com.
Regards
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/763b649c-13ff-40ec-9664-a531bb510f16%40chromium.org.
Thanks for the help
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.
Chrome doesn't currently ever send ping frames. Without knowing whether it was appropriate for the application it might just waste bandwidth and battery. However, there is discussion of doing it in the specific case when we think the network connection has gone down: https://bugs.chromium.org/p/chromium/issues/detail?id=706002So in Chrome's case, WebSocket-level keep alive is only ever server-initiated. Server-initiated keep-alive has a known problem that in most cases it won't detect if the NAT mapping has been dropped.Most applications that need keep-alive implement it explicitly in Javascript. A really simple example would be to send an empty message any time there had been no messages sent or received for a minute, and then program the server to respond to an empty message with another empty message. An empty WebSocket message is the same size as a ping, so no extra bandwidth is required to do it like this.On 27 July 2017 at 18:41, Thomas Bellos <bellos...@gmail.com> wrote:Thanks
This ping/pong keep alive protocol, is initiated by the client or the server?
I mean, will chrome periodically send ping frames on its own to determine whether the server is up or chrome just responds to pong frames?
Regards
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.