Re: bug in curl when using threaded resolver but no IPv6 since 7.34.0, all connections time out
Date: Wed, 8 Jan 2014 09:50:23 -0800
Thanks for investigating the issue, Daniel.
On Jan 8, 2014, at 4:16 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 8 Jan 2014, Eric Hassold wrote:
>> Thanks for this quick follow up. We actually based our builds and tests on a updated checkout of your repo from today, and issue can be reproduced systematically with any checkout after commit 02fbc26d59c59170fd..., including curl-7_34_0 and up to latest commit (01513161830d4533cf66738c2a3cd48e88468b76).
> Okay, thanks. Unfortunately I've rebuilt as well with --disable-ipv6 and threaded resolver but it works just fine to do:
> $ src/curl --connect-timeout 5 www.yahoo.com
> ... on my Linux box.
As I wrote in my initial e-mail, I also unfortunately failed to reproduce the bug on Ubuntu 32bit and 64bit. It only reproduced on MacOS and Android for us.
> Can you tell me something more about your environment, including your full curl -V output for your test build.
Here are the detail of a MacOS build and box that fails. Build was configured using
$ ./configure --enable-static --disable-shared --disable-ldap --enable-threaded-resolver --disable-ipv6
ProductName: Mac OS X
$ uname -a
Darwin palmtree 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
$ git branch
$ git log --oneline | head -1
31075a8 runtests: disable memory tracking with threaded resolver
$ ./src/curl -V
curl 7.34.1-DEV (x86_64-apple-darwin13.0.0) libcurl/7.34.1-DEV OpenSSL/1.0.1e zlib/1.2.8 libidn/1.26
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS IDN Largefile NTLM NTLM_WB SSL libz TLS-SRP
$ ./src/curl --connect-timeout 5 www.yahoo.com
curl: (28) Connection timed out after 5520 milliseconds
> Can you show us what output -v tells you on the failed run?
> What happens without "--connect-timeout 5” ?
Same error, see above.
List admin: http://cool.haxx.se/list/listinfo/curl-library
Received on 2014-01-08