From 70c36716c9ff306f056fc2c649ee74bc7ba02692 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Mon, 24 Sep 2012 17:05:23 +0200 Subject: [PATCH] Disable SSL/TLS session caching. Fixes: VWR-28039, VWR-28629 --- indra/llmessage/aicurl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/llmessage/aicurl.cpp b/indra/llmessage/aicurl.cpp index fe743effa..0ef864a9c 100644 --- a/indra/llmessage/aicurl.cpp +++ b/indra/llmessage/aicurl.cpp @@ -1158,6 +1158,8 @@ void CurlEasyRequest::applyDefaultOptions(void) setopt(CURLOPT_NOSIGNAL, 1); // The old code did this for the 'buffered' version, but I think it's nonsense. //setopt(CURLOPT_DNS_CACHE_TIMEOUT, 0); + // Disable SSL/TLS session caching; some servers (aka id.secondlife.com) refuse connections when session ids are enabled. + setopt(CURLOPT_SSL_SESSIONID_CACHE, 0); // Set the CURL options for either SOCKS or HTTP proxy. applyProxySettings(); // Cause libcurl to print all it's I/O traffic on the debug channel.