cURL / Mailing Lists / curl-library / Single Mail


Re: multihomed connections

From: Gisle Vanem <>
Date: Wed, 9 Jun 2004 13:47:02 +0200

"Daniel Stenberg" <> said:

> > It would be nice if libcurl could tell us all the IP it tried and the result
> > of each failed attempt.
> I think I agree. You have any patch doing this?

I've started work on this. But how should CURLOPT_CONNECTTIME
be interpreted? Max-time on each connection or max-time for all the
IP tried?

If I do 'curl -vc2', this takes
47sec for the 7 IPs tried. Much more than 2sec per IP.

Wheras 'curl -vc2' gives up
after 1 sec?!

* About to connect() to port 21
* Connected to ( port 21
* FTP response reading failed
* Closing connection #0
curl: (56) FTP response reading failed

I've spoke about this before; the above is completely untrue. tcpdump
shows I receive a RST for each of my SYNs. So no way I'm connected.
The host has no ftp nor http-servers so I'd expect ftp to behave like http

Received on 2004-06-09