diff options
author | Nicky <none@none> | 2012-08-26 12:56:13 +0200 |
---|---|---|
committer | Nicky <none@none> | 2012-08-26 12:56:13 +0200 |
commit | dec4f9b4be6936ad4b342eb6030c740359713f06 (patch) | |
tree | 84c21ef011ff9290896e1604599bc191033c9302 /indra/viewer_components/login/lllogin.cpp | |
parent | 33263bb5e7dad106ef82c62f789ae430bad63d60 (diff) |
Gracefully handle 'Started' status. Ignore it and continue login.
Diffstat (limited to 'indra/viewer_components/login/lllogin.cpp')
-rw-r--r-- | indra/viewer_components/login/lllogin.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/viewer_components/login/lllogin.cpp b/indra/viewer_components/login/lllogin.cpp index d480b63094..bdcb068200 100644 --- a/indra/viewer_components/login/lllogin.cpp +++ b/indra/viewer_components/login/lllogin.cpp @@ -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" |