On 19/04/2009, at 12:00, Monic Polynomial wrote:
> There is no option in fink.conf to specify connection timeouts.
> However, you may specify a different connection timeout in /sw/lib/
> perl5/Fink/NetAccess.pm at your own risk.


My bad, checking NetAccess.pm again I found a /sw/etc/fink.conf option  
named DownloadTimeout that is valid for curl only. It is equivalent to  
the --max-time option in curl:

        -m/--max-time <seconds>
               Maximum time in seconds that you allow the  whole   
operation  to
               take.   This is useful for preventing your batch jobs  
from hang-
               ing for hours due to slow networks or links  going   
down.   This
               doesn't  work  fully  in win32 systems.  See also the -- 
connect-
               timeout option.

The option that cannot be changed via fink.conf, also valid for curl  
only, is

        --connect-timeout <seconds>
               Maximum time in seconds that you allow  the   
connection  to  the
               server  to  take.   This  only limits the connection  
phase, once
               curl has connected this option is of no more use. See   
also  the
               -m/--max-time option.


--
monipol


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to