diff options
author | Oz Linden <oz@lindenlab.com> | 2013-08-20 10:37:10 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-08-20 10:37:10 -0400 |
commit | c42a91421ff4691e6d2efa5744fe3f246510649c (patch) | |
tree | 0ce60a84e78b802c7f936e3b4cb1503edb2fa945 /indra/llmessage | |
parent | d2b947c1fa0757e94eb74429a339a8198531dd93 (diff) | |
parent | 171089207b528ab80a954292c127ba77254ee927 (diff) |
merge changes for 3.6.3-release
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-x | indra/llmessage/llcurl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp index 47041a2880..f2a3e059ef 100755 --- a/indra/llmessage/llcurl.cpp +++ b/indra/llmessage/llcurl.cpp @@ -72,7 +72,8 @@ static const U32 EASY_HANDLE_POOL_SIZE = 5; static const S32 MULTI_PERFORM_CALL_REPEAT = 5; -static const S32 CURL_REQUEST_TIMEOUT = 30; // seconds per operation +static const S32 CURL_REQUEST_TIMEOUT = 120; // seconds per operation +static const S32 CURL_CONNECT_TIMEOUT = 30; //seconds to wait for a connection static const S32 MAX_ACTIVE_REQUEST_COUNT = 100; // DEBUG // @@ -517,6 +518,7 @@ void LLCurl::Easy::prepRequest(const std::string& url, //don't verify host name so urls with scrubbed host names will work (improves DNS performance) setopt(CURLOPT_SSL_VERIFYHOST, 0); setopt(CURLOPT_TIMEOUT, llmax(time_out, CURL_REQUEST_TIMEOUT)); + setopt(CURLOPT_CONNECTTIMEOUT, CURL_CONNECT_TIMEOUT); setoptString(CURLOPT_URL, url); |