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

Forced IPv4 resolve mode to use only A queries. #9540

Closed
wants to merge 1 commit into from

Conversation

dkarpov1970
Copy link

@dkarpov1970 dkarpov1970 commented Sep 19, 2022

These changes force using IPv4 name resolution queries for the "IP4 only" resolve mode in IPv6-enabled dual-stack libcurl.
They protect "IPv4 only" transfers from undesired bad IPv6-related side effects and make IPv4 transfers in dual-stack libcurl behave the same way as in IPv4 single-stack libcurl.

The e-mail thread describing the problem and some ideas to solve it can be found at:
https://curl.se/mail/lib-2022-05/0004.html

@bagder bagder added the name lookup DNS and related tech label Sep 19, 2022
@dkarpov1970 dkarpov1970 force-pushed the master branch 2 times, most recently from 81e12e9 to fd6a970 Compare Sep 19, 2022
bagder
bagder approved these changes Sep 20, 2022
@bagder
Copy link
Member

bagder commented Sep 20, 2022

Thanks!

@bagder bagder closed this in 1902e8f Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
name lookup DNS and related tech
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants