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

@@ -471,6 +471,9 @@ void LLURLRequest::initialize()
return ;
}
#ifndef CURLTHREADING_BRANCH
mDetail->mCurlRequest->setopt(CURLOPT_SSLVERSION, (long)CURL_SSLVERSION_TLSv1);
#endif
mDetail->mCurlRequest->setopt(CURLOPT_NOSIGNAL, 1);
mDetail->mCurlRequest->setWriteCallback(&downCallback, (void*)this);
mDetail->mCurlRequest->setReadCallback(&upCallback, (void*)this);