Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow initiating peer to close stream gracefully
I have a usecase where I would like to remove a worker without killing it. Currently, trying to disconnect from the head node will cause the message handler loop to throw a fatal exception, so this adds a check that the connection is still open when trying to read new messages.
- Loading branch information