Threaded cURL. Consider experimental (what in this branch isn't?), however it drastically reduces hitching for me... so yup.
This commit is contained in:
@@ -319,16 +319,18 @@ bool LLXMLRPCTransaction::Impl::process()
|
||||
}
|
||||
}
|
||||
|
||||
const F32 MAX_PROCESSING_TIME = 0.05f;
|
||||
LLTimer timer;
|
||||
//const F32 MAX_PROCESSING_TIME = 0.05f;
|
||||
//LLTimer timer;
|
||||
|
||||
while (mCurlRequest->perform() > 0)
|
||||
mCurlRequest->perform();
|
||||
|
||||
/*while (mCurlRequest->perform() > 0)
|
||||
{
|
||||
if (timer.getElapsedTimeF32() >= MAX_PROCESSING_TIME)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
while(1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user