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

Save connection options for conn.reset #589

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

larskanis
Copy link
Collaborator

Commit 016c17c introduced a regression, that leads to a host list duplication every time conn.reset is used.

Since the hosts are duplicated when resolve_hosts is called, the conn.coninfo_hash can not be used. So the fix is to store the original hash of connection options for later use in conn.reset .

Fixes #586

@larskanis larskanis force-pushed the fix-host-dup-on-reset branch 2 times, most recently from 9af679a to 0c8fcd1 Compare September 5, 2024 19:54
Commit 016c17c introduced a regression, that leads to a host list duplication every time conn.reset is used.

Since the hosts are duplicated when resolve_hosts is called, the conn.coninfo_hash can not be used.
So the fix is to store the original hash of connection options for later use in conn.reset .

Fixes ged#586
@larskanis larskanis force-pushed the fix-host-dup-on-reset branch from 0c8fcd1 to bf7d57f Compare September 5, 2024 20:13
@larskanis larskanis merged commit d4c6c61 into ged:master Sep 6, 2024
13 of 17 checks passed
@larskanis larskanis deleted the fix-host-dup-on-reset branch September 6, 2024 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segv when wrapped in a Timeout.timeout
1 participant