summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-02 15:01:32 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-03-02 15:01:43 (GMT)
commit3c7e4867853348bccc5a06e3921bbd9367710c04 (patch)
tree009af78926a6c1365809ad9a32d1ec13ad1a7f8f
parent48c2a146aed7fff5abfe6e1501750ca088c13396 (diff)
parent296d2bef0650e2e062bf373eee0f64cc1a82b7cc (diff)
downloadCMake-3c7e4867853348bccc5a06e3921bbd9367710c04.zip
CMake-3c7e4867853348bccc5a06e3921bbd9367710c04.tar.gz
CMake-3c7e4867853348bccc5a06e3921bbd9367710c04.tar.bz2
Merge topic 'retry-file-download-on-timeout'
296d2bef06 ExternalProject: Also retry curl download on timeout error Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8270
-rw-r--r--Modules/ExternalProject/download.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject/download.cmake.in b/Modules/ExternalProject/download.cmake.in
index ff8c659..bf7f209 100644
--- a/Modules/ExternalProject/download.cmake.in
+++ b/Modules/ExternalProject/download.cmake.in
@@ -108,7 +108,7 @@ message(STATUS "Downloading...
timeout='@TIMEOUT_MSG@'
inactivity timeout='@INACTIVITY_TIMEOUT_MSG@'"
)
-set(download_retry_codes 7 6 8 15)
+set(download_retry_codes 7 6 8 15 28)
set(skip_url_list)
set(status_code)
foreach(i RANGE ${retry_number})