-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I have a question about recovery from tcp socket errors. Using the echo
example, run client.js and server.js.
If you abruptly restart client.js, server.js is able to recover from and a new stream is created. But, if you restart server.js, no new stream is ever created, despite client reconnecting.
I'm unclear on why they behave differently. I suspect that in client.js, that the link.stream()
breaks once server restarts, and for some reason a new link status event isn't emitted. So no new link.stream()
call occurs.
What changes would need to be made to the code to have both client and server able to recover from a restart?
Metadata
Metadata
Assignees
Labels
No labels