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

scribe at crosswire.org scribe at crosswire.org
Tue Sep 10 04:56:23 MST 2013


Author: scribe
Date: 2013-09-10 04:56:23 -0700 (Tue, 10 Sep 2013)
New Revision: 2974

Modified:
   trunk/src/mgr/curlftpt.cpp
   trunk/src/mgr/curlhttpt.cpp
Log:
changed TIMEOUT to the correct CONNECTTIMEOUT 


Modified: trunk/src/mgr/curlftpt.cpp
===================================================================
--- trunk/src/mgr/curlftpt.cpp	2013-09-10 11:53:43 UTC (rev 2973)
+++ trunk/src/mgr/curlftpt.cpp	2013-09-10 11:56:23 UTC (rev 2974)
@@ -157,7 +157,7 @@
 
 		/* Switch on full protocol/debug output */
 		curl_easy_setopt(session, CURLOPT_VERBOSE, true);
-		curl_easy_setopt(session, CURLOPT_TIMEOUT, 45);
+		curl_easy_setopt(session, CURLOPT_CONNECTTIMEOUT, 45);
 		
 		/* FTP connection settings */
 

Modified: trunk/src/mgr/curlhttpt.cpp
===================================================================
--- trunk/src/mgr/curlhttpt.cpp	2013-09-10 11:53:43 UTC (rev 2973)
+++ trunk/src/mgr/curlhttpt.cpp	2013-09-10 11:56:23 UTC (rev 2974)
@@ -148,6 +148,7 @@
 
 		/* Switch on full protocol/debug output */
 		curl_easy_setopt(session, CURLOPT_VERBOSE, true);
+		curl_easy_setopt(session, CURLOPT_CONNECTTIMEOUT, 45);
 		
 		/* Disable checking host certificate */
 		curl_easy_setopt(session, CURLOPT_SSL_VERIFYPEER, false);




More information about the sword-cvs mailing list