-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drpcmanager: expose error from transport failures
A cancel can sometimes only be performed by closing the underlying transport because that is the only way to interrupt a read/write syscall. But, rather than assume that every error from the transport failing is due to a cancel, only assume that an io.EOF means that. This can help with debugging when the remote side dies due things besides a "clean" close of the underlying transport. Closes #31 Change-Id: Ia655d07984f6abe0492e7f9300d2638a1c82b4d4
- Loading branch information
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9206537
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Storj Community Forum (official). There might be relevant details there:
https://forum.storj.io/t/introducing-drpc-our-replacement-for-grpc/13486/13