Skip to content
Snippets Groups Projects
Commit ecd0cc3a authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

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

parent 4cd295ba
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,8 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para ...@@ -178,6 +178,8 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para
request["uri"] = uri; request["uri"] = uri;
request["reply"] = replyPump.getName(); request["reply"] = replyPump.getName();
rewrittenURIs = postAndWait(self, request, srv_pump_name, filter); 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 } // we no longer need the filter
LLEventPump& xmlrpcPump(LLEventPumps::instance().obtain("LLXMLRPCTransaction")); LLEventPump& xmlrpcPump(LLEventPumps::instance().obtain("LLXMLRPCTransaction"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment