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 Crash. Don't requeue any queries for ares_getaddrinfo() during destruction. #553

Merged
merged 1 commit into from Sep 27, 2023

Conversation

bradh352
Copy link
Member

During ares_destroy(), any outstanding queries are terminated, however ares_getaddrinfo() had an ordering issue with status codes which in some circumstances could lead to a new query being enqueued rather than honoring the termination.

Fixes #532
Fix By: @Chilledheart and Brad House (@bradh352)

@bradh352 bradh352 merged commit 1c3a52b into c-ares:main Sep 27, 2023
25 checks passed
@bradh352 bradh352 deleted the getaddrinfo_destroy branch September 27, 2023 23:21
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.

Crashed on assertions in ares_destroy code when io loop ends on windows
1 participant