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

dns/client: fix async getaddr query abort (not thread safe) #914

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Aug 24, 2023

This PR replaces the async getaddr dns query by a temporary one. So no locking is needed and the original query can safely destructed/aborted before async work is executed.

This PR replace the async getaddr dns query by a temporary one. So no
locking is needed and the original query can safely destructed before
async loop is ready.
@sreimers sreimers marked this pull request as ready for review August 24, 2023 16:19
@sreimers sreimers merged commit 85e53c7 into main Aug 24, 2023
38 checks passed
@sreimers sreimers deleted the dns_client_getaddr_abort branch August 24, 2023 19:04
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.

1 participant