Closed mturoci closed 9 months ago
While yes it is redundant I do believe that it is a good check on the health of the connection - the ping/pong validates that both sides of the connection are working/behaving as expected (that the remote is actually receiving and understanding data, and that it isn't getting caught in a buffer somewhere).
Just to make it more clear. I am not saying we should drop the ping/pong, but rather send it only when the traffic is idle and there is no communication at all. Currently, we send ping/pongs regardless of the activity.
Yep, I still believe the pingpongs have value even if there is traffic on the connection
Got it, closing the issue then. Thanks for the inputs!
Currently, waved sends ping/pong messages to keep the websocket connection alive. This however seems redundant when done during active traffic.