curl-library
libcurl and connection timeouts
From: lostsandman <lostsandman_at_gmail.com>
Date: Tue, 22 Nov 2005 14:36:29 +0000
Date: Tue, 22 Nov 2005 14:36:29 +0000
I have app which connects to a ftp server every 30 seconds and download
files if there is any.
I think due to some network changes libcurl fails to connect and i mostly
get the error " couldn't connect to server".
Sometimes "a timeout was reached" or "failed to receive data from peer".
So i am wondering what is the default timeout value libcurl uses?
I am guessing CURLOPT_CONNECTTIMEOUT is the option to use if i want to
control the timeouts?
Thanks
Received on 2005-11-22