[sword-svn] r2887 - trunk/src/mgr

scribe at crosswire.org scribe at crosswire.org
Sat Jul 13 07:33:06 MST 2013


Author: scribe
Date: 2013-07-13 07:33:05 -0700 (Sat, 13 Jul 2013)
New Revision: 2887

Modified:
   trunk/src/mgr/curlftpt.cpp
Log:
set FTP timeout to 45 seconds which seems to actually take double from running timings with:
time installmgr -r Repo



Modified: trunk/src/mgr/curlftpt.cpp
===================================================================
--- trunk/src/mgr/curlftpt.cpp	2013-07-13 13:52:53 UTC (rev 2886)
+++ trunk/src/mgr/curlftpt.cpp	2013-07-13 14:33:05 UTC (rev 2887)
@@ -154,6 +154,7 @@
 
 		/* Switch on full protocol/debug output */
 		curl_easy_setopt(session, CURLOPT_VERBOSE, true);
+		curl_easy_setopt(session, CURLOPT_TIMEOUT, 45);
 		
 		/* FTP connection settings */
 




More information about the sword-cvs mailing list