I it possible to add possibility to automatically close websocket connection it there is no pong response to the auto ping?
This would be useful to close broken connections.
For example it could be implemented like this:
add new timeout - noDataReceiveTimeout;
noDataReceiveTimeout` reached;
send auto ping;
if pong or other data was received - ok, do nothing;
second noDataReceiveTimeout` reached - if no data was received between two timeouts - close connection;
I it possible to add possibility to automatically close websocket connection it there is no
pong
response to the auto ping? This would be useful to close broken connections.For example it could be implemented like this:
noDataReceiveTimeout
;