| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: AllowServerConnect timeout quesion
From: giladbu <giladbu_at_hotmail.com>
Date: Tue, 3 Feb 2004 21:40:27 +0200
Great! I checked the following change, and worked fine for me. The change is in bold.
Thanks Gilad
static CURLcode AllowServerConnect(struct connectdata *conn)
FD_SET(sock, &rdset);
/* we give the server 10 seconds to connect to us */
On Fri, 30 Jan 2004, gilad wrote:
> Hi, I thought of using the existing parameter of CONNECTTIMEOUT as in
That's not a bad idea. But remember that the data->set.connecttimeout is 0 if
dt.tv_sec = 60; /* probably a more sensible and more defensive default */
if(data->set.connecttimeout)
.. or similar. Don't you agree?
--
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
-------------------------------------------------------
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-02-04
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info