Possible fix for "No able to connect to SecondLife"

This commit is contained in:
Aleric Inglewood
2012-07-14 20:57:55 +02:00
parent 9241816a71
commit 66c95af093
5 changed files with 15 additions and 0 deletions

View File

@@ -441,6 +441,9 @@ static LLSD blocking_request(
LLProxy::getInstance()->applyProxySettings(curlp);
// * Set curl handle options
#ifndef CURLTHREADING_BRANCH
curl_easy_setopt(curlp, CURLOPT_SSLVERSION, (long)CURL_SSLVERSION_TLSv1);
#endif
curl_easy_setopt(curlp, CURLOPT_NOSIGNAL, 1); // don't use SIGALRM for timeouts
curl_easy_setopt(curlp, CURLOPT_TIMEOUT, timeout); // seconds, see warning at top of function.
curl_easy_setopt(curlp, CURLOPT_WRITEFUNCTION, LLHTTPBuffer::curl_write);