From: cantor Date: Thu, 4 Feb 2010 16:48:28 +0000 (+0000) Subject: Lower connect timeout to 10. X-Git-Tag: 1.4.1~124 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fxmltooling.git;a=commitdiff_plain;h=f526bcd752175d6ba5e5128aebedb113f2b1eff4 Lower connect timeout to 10. git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@714 de75baf8-a10c-0410-a50a-987c0e22f00f --- diff --git a/xmltooling/util/CurlURLInputStream.cpp b/xmltooling/util/CurlURLInputStream.cpp index 88219f2..e2d44c9 100644 --- a/xmltooling/util/CurlURLInputStream.cpp +++ b/xmltooling/util/CurlURLInputStream.cpp @@ -219,7 +219,7 @@ void CurlURLInputStream::init(const DOMElement* e) curl_easy_setopt(fEasy, CURLOPT_MAXREDIRS, 6); // Default settings. - curl_easy_setopt(fEasy, CURLOPT_CONNECTTIMEOUT,30); + curl_easy_setopt(fEasy, CURLOPT_CONNECTTIMEOUT,10); curl_easy_setopt(fEasy, CURLOPT_TIMEOUT,60); curl_easy_setopt(fEasy, CURLOPT_HTTPAUTH,0); curl_easy_setopt(fEasy, CURLOPT_USERPWD,NULL);