When a heartbeat timeout occurs, currently we wait for the server sent close frame and onclose event to determine that the Nes connection has disconnected, and to call onDisconnect(). However this is probably too late. Consumer should be notified as soon as we consider the connection has gone away so the consumer knows not to send any more data.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
When a heartbeat timeout occurs, currently we wait for the server sent close frame and
onclose
event to determine that the Nes connection has disconnected, and to callonDisconnect()
. However this is probably too late. Consumer should be notified as soon as we consider the connection has gone away so the consumer knows not to send any more data.