8000 fix: handle temporary network errors in Relay by 3Hren · Pull Request #1154 · sonm-io/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: handle temporary network errors in Relay #1154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 3, 2018

Conversation

3Hren
Copy link
Member
@3Hren 3Hren commented Jul 2, 2018

This fixes a bug when Relay server finished accepting new connections when a temporary error occurs, such as EMFILE.
Now it will sleep for some period of time, but still interrupting on non-recoverable error. This is the same how gRPC handles this.

Also the entire server now will stop on such non-recoverable errors instead of waiting for interruption signal.

This fixes a bug when Relay server finished accepting new connections when a temporary error occurs, such as EMFILE.
Now it will sleep for some period of time, but still interrupting on non-recoverable error.

Also the entire server now will stop on such non-recoverable errors instead of waiting for interruption signal.
@3Hren 3Hren added 💩 T: bug This PR/Issue fixes a bug P: HIGH This PR/Issue has the high priority V: patch This PR/Issue requires patch version to be bumped S: Relay This PR/Issue changes Relay labels Jul 2, 2018
@3Hren 3Hren merged commit a00db01 into master Jul 3, 2018
@3Hren 3Hren deleted the fix/relay/too-many-connections branch July 3, 2018 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: HIGH This PR/Issue has the high priority S: Relay This PR/Issue changes Relay 💩 T: bug This PR/Issue fixes a bug V: patch This PR/Issue requires patch version to be bumped
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0