diff options
author | Oz Linden <oz@lindenlab.com> | 2013-08-26 16:43:03 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-08-26 16:43:03 -0400 |
commit | a4e74449857c57bf67104087015560baa69789ab (patch) | |
tree | 3e18c14b7e3cff29ea28836db579852e59753ef2 /indra | |
parent | ecc4f2357df4cc139aa4e6a6a22f1ac5460f6871 (diff) |
correct merge error in llupdatechecker.cpp
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/viewer_components/updater/llupdatechecker.cpp | 39 |
1 files changed, 5 insertions, 34 deletions
diff --git a/indra/viewer_components/updater/llupdatechecker.cpp b/indra/viewer_components/updater/llupdatechecker.cpp index 3e170e44f4..abdace979a 100755 --- a/indra/viewer_components/updater/llupdatechecker.cpp +++ b/indra/viewer_components/updater/llupdatechecker.cpp @@ -149,40 +149,11 @@ void LLUpdateChecker::Implementation::completed(U32 status, server_error += content["error_text"].asString(); } - if (status == 404) - { - if (mProtocol == sProtocolVersion) - { - mProtocol = sLegacyProtocolVersion; - std::string retryUrl = buildUrl(mUrlBase, mChannel, mVersion, mPlatform, mPlatformVersion, mUniqueId, mWillingToTest); - - LL_WARNS("UpdaterService") - << "update response using " << sProtocolVersion - << " was HTTP 404 (" << server_error - << "); retry with legacy protocol " << mProtocol - << "\n at " << retryUrl - << LL_ENDL; - - mHttpClient.get(retryUrl, this); - } - else - { - LL_WARNS("UpdaterService") - << "update response using " << sLegacyProtocolVersion - << " was 404 (" << server_error - << "); request failed" - << LL_ENDL; - mClient.error(reason); - } - } - else - { - LL_WARNS("UpdaterService") << "response error " << status - << " " << reason - << " (" << server_error << ")" - << LL_ENDL; - mClient.error(reason); - } + LL_WARNS("UpdaterService") << "response error " << status + << " " << reason + << " (" << server_error << ")" + << LL_ENDL; + mClient.error(reason); } else { |