summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxavisolesoft <xavisolesoft@gmail.com>2024-04-25 08:21:29 (GMT)
committerBrad King <brad.king@kitware.com>2024-04-25 17:08:24 (GMT)
commit6f77077feb821f2dabb14ef0de8d207bb8474801 (patch)
tree69c6fdc39bfca32a0b9b4d4e6a9f2bf0a9f14650
parent1a676eb580866fa3fbaa83823e410018dc8b7c8c (diff)
downloadCMake-6f77077feb821f2dabb14ef0de8d207bb8474801.zip
CMake-6f77077feb821f2dabb14ef0de8d207bb8474801.tar.gz
CMake-6f77077feb821f2dabb14ef0de8d207bb8474801.tar.bz2
ExternalProject: Retry download for error code 35
This error code indicates a TLS handshake failure, which we've observed intermittently when downloading artifacts from GitHub.
-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 2158ffd..f21a91a 100644
--- a/Modules/ExternalProject/download.cmake.in
+++ b/Modules/ExternalProject/download.cmake.in
@@ -100,7 +100,7 @@ message(STATUS "Downloading...
timeout='@TIMEOUT_MSG@'
inactivity timeout='@INACTIVITY_TIMEOUT_MSG@'"
)
-set(download_retry_codes 7 6 8 15 28)
+set(download_retry_codes 7 6 8 15 28 35)
set(skip_url_list)
set(status_code)
foreach(i RANGE ${retry_number})