Changed SRV Request timeout to respond with an event instead of an error
parent
913c29f709
commit
2b5faa0b9c
|
|
@ -141,9 +141,14 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD credential
|
|||
LL_INFOS("LLLogin") << "Requesting SRV record from " << uri << LL_ENDL;
|
||||
|
||||
// *NOTE:Mani - Completely arbitrary timeout value for SRV request.
|
||||
filter.errorAfter(5, "SRV Request timed out!");
|
||||
// filter.errorAfter(5, "SRV Request timed out!");
|
||||
|
||||
//
|
||||
F32 seconds_to_timeout = 5.0f;
|
||||
filter.actionAfter(seconds_to_timeout,
|
||||
sendProgressEvent("offline", "fail.login", LLSD()));
|
||||
|
||||
// Make request
|
||||
// Make request
|
||||
LLSD request;
|
||||
request["op"] = "rewriteURI";
|
||||
request["uri"] = uri;
|
||||
|
|
|
|||
Loading…
Reference in New Issue