From 4dc25df5a4e2ba1c76b542ad2371d71499db6b88 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 22 Sep 2016 11:40:13 +0200 Subject: [PATCH] Changed: Display an better text for status code 307, see #279 --- code/ryzom/tools/client/ryzom_installer/src/downloader.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp b/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp index 713dc9b80..e7ef391cd 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp @@ -323,6 +323,13 @@ void CDownloader::onHeadFinished() } } + // error when download is not yet ready + else if (status == 307) + { + if (m_listener) m_listener->operationFail(tr("File is not available, please retry later (status code: %1)").arg(status)); + return; + } + // other status else {