diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-05-26 17:25:26 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-05-26 17:25:26 -0400 |
commit | ecd0cc3a5a411ea050e54044bcea0dfb695b000b (patch) | |
tree | 7ba79485bf2a9e8daf2109634dbc8d76397c65cb /indra/viewer_components | |
parent | 4cd295badd5fa51c6b9d5cb52726e48a57ba3bec (diff) |
EXP-772: If URIs returned by SRV fail, fall back on original URI.
Diffstat (limited to 'indra/viewer_components')
-rw-r--r-- | indra/viewer_components/login/lllogin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/viewer_components/login/lllogin.cpp b/indra/viewer_components/login/lllogin.cpp index 651d803e0d..d480b63094 100644 --- a/indra/viewer_components/login/lllogin.cpp +++ b/indra/viewer_components/login/lllogin.cpp @@ -178,6 +178,8 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para request["uri"] = uri; request["reply"] = replyPump.getName(); rewrittenURIs = postAndWait(self, request, srv_pump_name, filter); + // EXP-772: If rewrittenURIs fail, try original URI as a fallback. + rewrittenURIs.append(uri); } // we no longer need the filter LLEventPump& xmlrpcPump(LLEventPumps::instance().obtain("LLXMLRPCTransaction")); |