Skip to content

Support attempts and timeout options from resolv.conf #632

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 1 commit into from
Nov 22, 2023

Conversation

Kontakter
Copy link
Contributor

c-ares parses only antique version of options for timeout and number of retries from resolv.conf (retrans and retry are missing in modern documentation https://man7.org/linux/man-pages/man5/resolv.conf.5.html).

I add support of attempts and timeout options

@Kontakter
Copy link
Contributor Author

I cannot realise reasons of failures on Darwin, I failed to reproduce it on my MacBook

@bradh352
Copy link
Member

I think you may have found a bug in c-ares here as to why the macOS tests are failing. The environment reading should come after sysconfig reading here: https://github.com/c-ares/c-ares/blob/main/src/lib/ares_sysconfig.c#L998 as the environment is supposed to act as overrides.

@bradh352 bradh352 merged commit 2985ce3 into c-ares:main Nov 22, 2023
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.

2 participants