mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Retry download also on CURLE_SSL_CONNECT_ERROR
Sometimes the download fails with CURLE_SSL_CONNECT_ERROR and retrying is successful. Sometimes multiple retries are needed, but that is already handled by the existing code.
This commit is contained in:
parent
5c64fc3074
commit
3bc9efef6c
@ -2804,6 +2804,7 @@ void Downloader::processDownloadQueue(Config conf, const unsigned int& tid)
|
||||
case CURLE_PARTIAL_FILE:
|
||||
case CURLE_OPERATION_TIMEDOUT:
|
||||
case CURLE_RECV_ERROR:
|
||||
case CURLE_SSL_CONNECT_ERROR:
|
||||
bShouldRetry = true;
|
||||
break;
|
||||
// Retry on CURLE_HTTP_RETURNED_ERROR if response code is not "416 Range Not Satisfiable"
|
||||
|
Loading…
Reference in New Issue
Block a user