Mailing Lists
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1337 7.35.0 issues with localhost
From: Fabian Frank <fabian_stietzel_at_users.sf.net>
Date: Tue, 18 Mar 2014 08:06:58 +0000
Unfortunately I can still reproduce the bug after applying the patch. I thought the problem is that line 568 (https://github.com/bagder/curl/blob/master/lib/connect.c#L568) skips the v4 address while still in v6 mode.
--- ** [bugs:#1337] 7.35.0 issues with localhost** **Status:** open-confirmed **Created:** Sat Feb 22, 2014 11:44 PM UTC by ricker **Last Updated:** Tue Mar 18, 2014 07:59 AM UTC **Owner:** Daniel Stenberg After upgrading to curl 7.35.0 and rebuilding transmission torrent server and client, the client could no longer connect to localhost:9091, it now always results in a connection refused. The only way I could get it to connect was to remove one of the following lines from my /etc/hosts: ::1 localhost fe80::1%lo0 localhost But those are standard mappings, so removing them could result in more widespread issues. I was instead able to work arround the issue by having transmission connect to 127.0.0.1 instead of localhost. I ran into another issue that is probably related, when trying to install a new version of a perl module that wraps curl (LWP::Protocol::Net::Curl). The module includes a test to verify error-handling by trying to connect to a non-existent server at 127.0.0.1:0, but curl is somehow instead connecting to my local webserver on port 80. Even with the standard curl client. No other http client I tried experiences this problem, the others all result in the expected "can't connect" error. $ curl http://127.0.0.1:0/ <html><body><h1>It works!</h1></body></html> $ curl http://127.0.0.1:1337/ curl: (7) Failed to connect to 127.0.0.1 port 1337: Connection refused Neither of these problems existed with 7.34.0. I'm running OS X 10.9, curl @7.35.0_0+ssl is installed from Macports. $ curl -V curl 7.35.0 (x86_64-apple-darwin13.0.0) libcurl/7.35.0 OpenSSL/1.0.1f 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: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP --- 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 2014-03-18 These mail archives are generated by hypermail. |
Page updated December 29, 2013.
web site info