Skip to content
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

fix: don't spam re-connect attempts if something goes wrong when connecting to a derp server #1113

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

ramfox
Copy link
Contributor

@ramfox ramfox commented Jun 19, 2023

Adds test covering issue fixed in #1110

Fixes bug where the derp::http:client::recv_detail method doesn't report back connection errors and instead attempts to reconnect right away. This violates the way the magicsock::DerpActor expected the client to be used. It expects to have full control of when we backoff and reconnect.

Adds a test to prove the behavior.

@ramfox ramfox added fix Fixes a bug hole punching labels Jun 19, 2023
@ramfox ramfox self-assigned this Jun 19, 2023
@ramfox ramfox merged commit 92e8fc3 into main Jun 20, 2023
@ramfox ramfox deleted the client_conn_test branch June 20, 2023 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants