Gracefully handle 'Started' status. Ignore it and continue login.

Nicky 2012-08-26 12:56:13 +02:00
parent 33263bb5e7
commit dec4f9b4be
1 changed files with 10 additions and 0 deletions

View File

@ -271,6 +271,16 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para
}
return; // Done!
}
/* Sometimes we end with "Started" here. Slightly slow server?
* Seems to be ok to just skip it. Otherwise we'd error out and crash in the if below.
*/
if( status == "Started")
{
LL_DEBUGS("LLLogin") << mAuthResponse << LL_ENDL;
continue;
}
// If we don't recognize status at all, trouble
if (! (status == "CURLError"
|| status == "XMLRPCError"