| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: AllowServerConnect timeout quesion
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 4 Feb 2004 08:35:18 +0100 (CET)
On Tue, 3 Feb 2004, giladbu wrote:
> Great! I checked the following change, and worked fine for me. The change is
This is pretty much as I was thinking too. A few comments:
1. I don't see bold, I read plain text mails:
Please use 'diff -u' when you provide patches.
2. There's also the general timeout option that should be acknowledged, imho
3. The timeout given in both the timeout options is a timeout that is measured
I therefore suggest this slightly different version instead:
diff -u -r1.223 ftp.c
FD_ZERO(&rdset);
FD_SET(sock, &rdset);
- /* we give the server 10 seconds to connect to us */
switch (select(sock+1, &rdset, NULL, NULL, &dt)) {
--
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-02-04
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info