cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: connection timeout

From: conchi <conchi.felipe_at_lanaccess.es>
Date: Mon, 26 Apr 2010 12:21:38 +0200

I'm making the request always with the IP address not by name.
Thanks for your answer

-----Mensaje original-----
De: Kamil Dudka [mailto:kdudka_at_redhat.com]
Enviado el: lunes, 26 de abril de 2010 11:58
Para: conchi
CC: curl-library_at_cool.haxx.se
Asunto: Re: connection timeout

On Monday 26 of April 2010 11:49:32 conchi wrote:
> The connection timeout is 2000 ms.

That's _total_ connection timeout.

> In fact, the problem I think, is that the curlib does not send the SYN
> inmediately, it delays some time before tryning to open the socket, and

The delay is IMO caused by name resolving.

Please try again directly with IP address instead of the name.

Kamil

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-26