SH-580 FIXED Crash in curl on exit

New defensive programming added this llerrs trigger.  This is worth investigating but not at the top of our priority at the moment.  Reverting to llinfos for now as has been done for non-Windows builds already.
meow-7.2.2
Loren Shih 2011-02-03 17:49:19 -05:00
parent 957b8b15e1
commit aa9d9901e8
1 changed files with 4 additions and 14 deletions

View File

@ -90,13 +90,8 @@ void check_curl_code(CURLcode code)
if (code != CURLE_OK)
{
// linux appears to throw a curl error once per session for a bad initialization
// at a pretty random time (when enabling cookies). Making curl errors non-asserts
// for non-windows platforms for now. - Nyx
#if LL_WINDOWS
llerrs << "curl error detected: " << curl_easy_strerror(code) << llendl;
#else
llinfos << "curl error detected: " << curl_easy_strerror(code) << llendl;
#endif
// at a pretty random time (when enabling cookies).
llinfos << "curl error detected: " << curl_easy_strerror(code) << llendl;
}
}
@ -105,13 +100,8 @@ void check_curl_multi_code(CURLMcode code)
if (code != CURLM_OK)
{
// linux appears to throw a curl error once per session for a bad initialization
// at a pretty random time (when enabling cookies). Making curl errors non-asserts
// for non-windows platforms for now. - Nyx
#if LL_WINDOWS
llerrs << "curl multi error detected: " << curl_multi_strerror(code) << llendl;
#else
llinfos << "curl multi error detected: " << curl_multi_strerror(code) << llendl;
#endif
// at a pretty random time (when enabling cookies).
llinfos << "curl multi error detected: " << curl_multi_strerror(code) << llendl;
}
}