curl-library
Re: AllowServerConnect timeout quesion
Date: Fri, 30 Jan 2004 18:08:03 +0200
Hi, I thought of using the existing parameter of CONNECTTIMEOUT
as in data->set.connecttimeout, instead of the 10 seconds by default..
Is it ok ? I will have no problem to check it :)
instead of
dt.tv_sec = 10;
then
dt.tv_sec = data->set.connecttimeout;
Thanks
Gilad
> Date: Wed, 28 Jan 2004 11:16:44 +0100 (CET)
> From: Daniel Stenberg <daniel-curl_at_haxx.se>
> To: libcurl Mailing list <curl-library_at_lists.sourceforge.net>
> Subject: Re: AllowServerConnect timeout quesion
> Reply-To: curl-library_at_lists.sourceforge.net
>
> On Mon, 26 Jan 2004, giladbu wrote:
>
> > I enjoy a lot libcurl, and decided to use the multiple files option. It
> > works fine most of the time, but when my server is very far (like New
> > Zealand), then I get
> > sometimes timeout in AllowServerConnect() in ftp.c which is limited to
10
> > seconds.
> > Is it a good idea to make this parameter configurable ? or something is
> > wrong with my internet if I get this timeout ?
>
> I think it is a good idea to make this parameter adjustable, and we should
> possibly extend the default timeout as well.
>
> Will you be able to provide a patch?
>
> --
> Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
> [[ Do not send mails to this email address. They won't reach me. ]]
>
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-31