EXP-772: If URIs returned by SRV fail, fall back on original URI.

meow-7.2.2
Nat Goodspeed 2011-05-26 17:25:26 -04:00
parent 4cd295badd
commit ecd0cc3a5a
1 changed files with 2 additions and 0 deletions

View File

@ -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"));