cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1315 curl-7.34.0: hangs after hitting IPv6 address with no IPv6 available

From: Bjorn Stenberg <zagor_at_users.sf.net>
Date: Tue, 24 Dec 2013 21:32:24 +0000

I am unable to reproduce this:

~~~~
~/src/curl$ src/curl --version
curl 7.34.0-DEV (x86_64-unknown-linux-gnu) libcurl/7.34.0-DEV OpenSSL/1.0.1e zlib/1.2.8 c-ares/1.10.0 libidn/1.28
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS Debug TrackMemory IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

~/src/curl$ src/curl -v bad14.haxx.se
* STATE: INIT => CONNECT handle 0xe57438; line 1011 (connection #-5000)
* Rebuilt URL to: bad14.haxx.se/
* Hostname was NOT found in DNS cache
* Adding handle: conn: 0xe913b8
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* 0xe57438 is at send pipe head!
* - Conn 0 (0xe913b8) send_pipe: 1, recv_pipe: 0
* STATE: CONNECT => WAITRESOLVE handle 0xe57438; line 1042 (connection #0)
* Trying 2a00:1a28:1:2011::1...
* Immediate connect fail for 2a00:1a28:1:2011::1: Network is unreachable
* Closing connection 0
* The cache now contains 0 members
* Expire cleared
curl: (7) Couldn't connect to server
~~~~

---
** [bugs:#1315] curl-7.34.0: hangs after hitting IPv6 address with no IPv6 available**
**Status:** open
**Created:** Tue Dec 24, 2013 04:00 PM UTC by Anthony G. Basile
**Last Updated:** Tue Dec 24, 2013 04:00 PM UTC
**Owner:** nobody
This was hit on a gentoo system and the downstream report can be seen at
   https://bugs.gentoo.org/show_bug.cgi?id=495170
In brief, if curl 7.34.0 tries an ipv6 address when one isn't available, it falls into a loop and eats 100% cpu.  This issue is not reproduceable on 7.33.0.
Here we used c-ares-1.9.1, libidn-1.28, openssl-1.0.1e and zlib-1.2.8.
---
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 2013-12-24

These mail archives are generated by hypermail.

donate! Page updated December 19, 2013.
web site info

File upload with ASP.NET