You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automated ping/pong support that was in the code briefly is no longer working, and should probably be restored.
The goal of ping/pong is to:
Keep the network connection live.
Detect network problems early, so reconnect attempts can be started proactively.
It never really achieved the second goal, probably because there was no timeout waiting for the pong. Even when the phone is in airplane mode, the ping would hang for a long time before returning an error.
I believe that Vapor has good ping support. Perhaps that code could inspire a solution, or we could even consider adopting their WebSocket library.
The text was updated successfully, but these errors were encountered:
The automated ping/pong support that was in the code briefly is no longer working, and should probably be restored.
The goal of ping/pong is to:
It never really achieved the second goal, probably because there was no timeout waiting for the pong. Even when the phone is in airplane mode, the ping would hang for a long time before returning an error.
I believe that Vapor has good ping support. Perhaps that code could inspire a solution, or we could even consider adopting their WebSocket library.
The text was updated successfully, but these errors were encountered: