diff options
author | Oz Linden <oz@lindenlab.com> | 2017-03-10 09:51:05 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2017-03-10 09:51:05 -0500 |
commit | fcbf38b08fdb77fbd6e70e8440cb67fc554316d4 (patch) | |
tree | 970580ef98356545ae9b2c30c8c959a9592b635b /indra/newview/llvoicevivox.cpp | |
parent | df331ef3c397fdcff3f3674870c4980eaffaada6 (diff) |
include connector flag in connection retry responses, log when giving up
Diffstat (limited to 'indra/newview/llvoicevivox.cpp')
-rw-r--r-- | indra/newview/llvoicevivox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 5b064e74f6..eb9cad6c33 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -2510,6 +2510,7 @@ void LLVivoxVoiceClient::daemonDied() void LLVivoxVoiceClient::giveUp() { // All has failed. Clean up and stop trying. + LL_WARNS("Voice") << "Terminating Voice Service" << LL_ENDL; closeSocket(); cleanUp(); } @@ -3003,6 +3004,7 @@ void LLVivoxVoiceClient::connectorCreateResponse(int statusCode, std::string &st else if (statusCode == 10028) // web request timeout prior to login { // this is usually fatal, but a long timeout might work + result["connector"] = LLSD::Boolean(false); result["retry"] = LLSD::Real(CONNECT_ATTEMPT_TIMEOUT); LL_WARNS("Voice") << "Connector.Create failed" << LL_ENDL; @@ -3010,6 +3012,7 @@ void LLVivoxVoiceClient::connectorCreateResponse(int statusCode, std::string &st else if (statusCode == 10006) // name resolution failure - a shorter retry may work { // some networks have slower DNS, but a short timeout might let it catch up + result["connector"] = LLSD::Boolean(false); result["retry"] = LLSD::Real(CONNECT_DNS_TIMEOUT); LL_WARNS("Voice") << "Connector.Create lookup failed" << LL_ENDL; |