RE: IPv6 issues with ares_getaddrinfo()

2023-01-20 Thread Dmitry Karpov via curl-library
> Host resolution seems to be OK, the curl connection instead reports an error > from inside OpenSSL: I guess it will help if you provide full Curl verbose output for both cases, otherwise, it is not clear if the resolution was the same. For example, ares_getaddrinfo() might give IPv6 name

Re: Close sockets asynchronously when using libdispatch (GCD)

2023-01-20 Thread Frederik Seiffert via curl-library
> Am 16.01.2023 um 19:24 schrieb Dan Fandrich via curl-library > : > > IMHO, that sounds like a good approach. curl assumes POSIX semantics on > sockets > which allow them to be closed at any time. If your environment doesn't allow > that, then hooking in to CURLOPT_CLOSESOCKETFUNCTION sounds

RE: IPv6 issues with ares_getaddrinfo()

2023-01-20 Thread Peter Krefting via curl-library
Hi! Do you get host resolution error with the curl 7.87.0 and c-ares 1.18.1 or the host resolution is OK? Host resolution seems to be OK, the curl connection instead reports an error from inside OpenSSL: result == 35 : Error (OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to