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.
This commit is contained in:
xavisolesoft
2024-04-25 09:21:29 +01:00
committed by Brad King
parent 1a676eb580
commit 6f77077feb

View File

@@ -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})