Răsfoiți Sursa

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.
xavisolesoft 1 an în urmă
părinte
comite
6f77077feb
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Modules/ExternalProject/download.cmake.in

+ 1 - 1
Modules/ExternalProject/download.cmake.in

@@ -100,7 +100,7 @@ message(STATUS "Downloading...
    timeout='@TIMEOUT_MSG@'
    timeout='@TIMEOUT_MSG@'
    inactivity timeout='@INACTIVITY_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(skip_url_list)
 set(status_code)
 set(status_code)
 foreach(i RANGE ${retry_number})
 foreach(i RANGE ${retry_number})