-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Test 1083 fails when configured with --enable-ares
#10759
Comments
Please include the test output. |
Even when there is an entry for Line 498 in 06f65f7
|
As requested: build.log.txt What I see with ares enabled:
So we're failing to resolve ip6-localhost and can't work out which interface we're supposed to bind to. Through judicious Lines 785 to 788 in 06f65f7
I don't have much to add here, will have to leave my troubleshooting at that, gotta get back to work and moving for a while so I'll leave this with you! |
It turns out c-ares returns an error when asked to resolve a host name with ares_getaddrinfo using port number 0. Reported as a c-ares bug here: c-ares/c-ares#517 The work-around is to simply use port 80 instead, as the number typically does not make a difference and a non-zero number works for c-ares. Fixes #10759 Reported-by: Matt Jolly
It turns out c-ares returns an error when asked to resolve a host name with ares_getaddrinfo using port number 0. Reported as a c-ares bug here: c-ares/c-ares#517 The work-around is to simply use port 80 instead, as the number typically does not make a difference and a non-zero number works for c-ares. Fixes curl#10759 Reported-by: Matt Jolly Closes curl#10789
I did this
I expected the following
Test 1083 should pass. When configured without ares the test passes successfully.
curl/libcurl version
curl 7.88.1 (x86_64-pc-linux-gnu) libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 c-ares/1.19.0 nghttp2/1.52.0
Release-Date: 2023-02-20
c-ares version
1.19.0
operating system
Linux obsidian 6.2.0-gentoo #3 SMP PREEMPT_DYNAMIC Fri Feb 24 23:33:12 AEDT 2023 x86_64 AMD Ryzen 7 3700X 8-Core Processor AuthenticAMD GNU/Linux
The text was updated successfully, but these errors were encountered: