Mailing Lists
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1410 Potential problem with CURLOPT_IPRESOLVE on libcurl v. 7.34.0
From: sergico <sergico74_at_users.sf.net>
Date: Tue, 12 Aug 2014 21:53:26 +0000
Did the test with libcurl 7.34.1 compiling it with the very same compile options.
Thanks
--- ** [bugs:#1410] Potential problem with CURLOPT_IPRESOLVE on libcurl v. 7.34.0** **Status:** open **Labels:** dns ipv6 **Created:** Tue Aug 12, 2014 03:05 PM UTC by sergico **Last Updated:** Tue Aug 12, 2014 09:34 PM UTC **Owner:** Daniel Stenberg OS: GNU/Linux Ubuntu 12.04 64bit libcurl v. 7.34.0 I compiled the lib myself as Ubuntu 12.04 distributes version 7.22.0 **Compile option:** ./configure --enable-optimize --enable-warnings --disable-ares --enable-shared --enable-static=no --enable-http --enable-ftp --disable-ldap --disable-ldaps --disable-rtsp --enable-proxy --disable-dict --disable-telnet --disable-tftp --enable-pop3 --enable-imap --enable-smtp --disable-gopher **--disable-ipv6** --enable-threaded-resolver --enable-verbose --disable-sspi --enable-crypto-auth --disable-ntlm-wb --disable-tls-srp --enable-cookies --disable-soname-bump --without-librtmp **Linking my app to libcurl 7.34.0:** - libcurl is sending AAAA query even though the ipv6 stack is supposed to be disabled - I disabled in my code the ipv6 resolver with the following piece of code: curl_easy_setopt( m_curlHndlPtr, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); but I still see the AAAA query in the .pcap traces when curl resolves host names ** Linking my app to libcurl 7.22.0:** - libcurl sends only A query I did some other test to be reasonably sure the problem is not in my code: - forced curl binary to load the libcurl I compiled using LD_LIBRARY_PATH curl: /opt/agent/lib/libcurl.so.4: no version information available (required by curl) curl 7.22.0 (x86_64-pc-linux-gnu) **libcurl/7.34.0** OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 Protocols: file ftp ftps http https imap imaps pop3 pop3s smtp smtps Features: AsynchDNS IDN Largefile NTLM SSL libz curl 7.22.0 (x86_64-pc-linux-gnu) **libcurl/7.22.0** OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP - Tried resolved an host name using the -4 option -- when linking libcurl 7.34.0 I still see the AAAA query -- when linking libcurl 7.22.0 I correctly see only the A query Please let me know if you need further details Best Regards Sergio --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2014-08-12 These mail archives are generated by hypermail. |