cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH v2] Add "Happy Eyeballs" for IPv4/IPv6.

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Wed, 30 Oct 2013 16:48:02 +0100

Kamil Dudka wrote:
> 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?

Ouch. Would you mind changing line lib/connect.c:796 (the "Whut" line) to the following and tell me what it says?

  infof(data, "Curl_socket_ready() returned 0x%02x\n", result);

-- 
Björn
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-30