diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp index 8fd48a23f3..302cd0c120 100644 --- a/indra/llmessage/llcurl.cpp +++ b/indra/llmessage/llcurl.cpp @@ -320,6 +320,15 @@ LLCurl::Easy* LLCurl::Easy::getEasy() CURLcode result = curl_easy_setopt(easy->mCurlEasyHandle, CURLOPT_DNS_CACHE_TIMEOUT, 0); check_curl_code(result); + // Disable SSL/TLS session caching. Some servers refuse to talk to us when session ids are enabled. + // id.secondlife.com is such a server, when greeted with a SSL HELLO and a session id, it immediatly returns a RST packet and closes + // the connections. + // Fixes: FIRE-5368, FIRE-5756, VWR-28039, VWR-28629 + result = curl_easy_setopt(easy->mCurlEasyHandle, CURLOPT_SSL_SESSIONID_CACHE, 0); + check_curl_code(result); + // + + ++gCurlEasyCount; return easy; }