curl-library
Re: [PATCH v2] Add connection delay to Happy Eyeballs.
Date: Thu, 31 Oct 2013 22:09:40 -0700
On Thu, Oct 31, 2013 at 4:34 PM, Björn Stenberg <bjorn_at_haxx.se> wrote:
> Paul Marks wrote:
>> - Running on a network without IPv6:
>> + Fetch ds.test-ipv6.com:
>> - Success, using IPv4.
>> + Fetch ipv6.test-ipv6.com:
>> - Hangs for 5 minutes -- Regression!
>
> Thank you for testing. My refactoring of the synchronous error handling code was a smidge too aggressive. Here is an updated patch.
>
The regression appears to be fixed:
$ time src/curl -v ipv6.test-ipv6.com/ip/
* Trying 2001:470:1:18::119...
* Immediate connect fail for 2001:470:1:18::119: Network is unreachable
* Closing connection 0
curl: (7) Couldn't connect to server
real 0m0.031s
Note that I have not attempted to test crazy situations involving
multiple IPv4 and IPv6 addresses, with the families interleaved.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-01