From 1fa9cd91b91474c524695857a35e892d197266e3 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Thu, 4 Feb 2010 16:48:28 +0000 Subject: [PATCH] Lower connect timeout to 10. --- xmltooling/util/CurlURLInputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.1.4