curl-library
Re: [PATCH v2] Add "Happy Eyeballs" for IPv4/IPv6.
Date: Wed, 30 Oct 2013 16:29:32 +0100
On Wednesday 30 October 2013 04:54:57 Paul Marks wrote:
> On Tue, Oct 29, 2013 at 3:01 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> > On Tue, 29 Oct 2013, Björn Stenberg wrote:
> >> Here is a fix for this.
> >
> > Merged and pushed, thanks!
>
> With the latest git, filtering IPv4 now correctly triggers IPv6
> fallback. I just hope that you're aiming for something consistent
> with RFC6555 before this lands in a stable release.
The latest upstream git HEAD (f6c335d6) still breaks the test-suite on my
RHEL-6 box. The tests exercising non-listening sockets (19 702 703 704 705)
hang consuming 100% CPU and the file tests/log/trace19 consumes several GBs
of disk space very quickly. It contains:
16:21:08.288894 == Info: Rebuilt URL to: 127.0.0.1:60000/
16:21:08.289076 == Info: About to connect() to 127.0.0.1 port 60000 (#0)
16:21:08.289099 == Info: Trying 127.0.0.1...
16:21:08.289159 == Info: Adding handle: conn: 0xc4ed30
16:21:08.289163 == Info: Adding handle: send: 0
16:21:08.289166 == Info: Adding handle: recv: 0
16:21:08.289168 == Info: Curl_addHandleToPipeline: length: 1
16:21:08.289172 == Info: - Conn 0 (0xc4ed30) send_pipe: 1, recv_pipe: 0
16:21:08.289514 == Info: Whut?
16:21:08.289521 == Info: Whut?
16:21:08.289524 == Info: Whut?
16:21:08.289528 == Info: Whut?
16:21:08.289531 == Info: Whut?
16:21:08.289534 == Info: Whut?
16:21:08.289537 == Info: Whut?
16:21:08.289540 == Info: Whut?
16:21:08.289544 == Info: Whut?
16:21:08.289547 == Info: Whut?
16:21:08.289550 == Info: Whut?
16:21:08.289553 == Info: Whut?
16:21:08.289556 == Info: Whut?
16:21:08.289559 == Info: Whut?
16:21:08.289562 == Info: Whut?
16:21:08.289565 == Info: Whut?
...
[[ repeats many many times ]]
...
Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-30