Don't retry CURLE_URL_MALFORMAT

This commit is contained in:
Eelco Dolstra 2018-01-19 14:05:08 +01:00
parent 87e3d142cc
commit 2896bb6826
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -303,6 +303,7 @@ struct CurlDownloader : public Downloader
// Don't bother retrying on certain cURL errors either // Don't bother retrying on certain cURL errors either
switch (code) { switch (code) {
case CURLE_FAILED_INIT: case CURLE_FAILED_INIT:
case CURLE_URL_MALFORMAT:
case CURLE_NOT_BUILT_IN: case CURLE_NOT_BUILT_IN:
case CURLE_REMOTE_ACCESS_DENIED: case CURLE_REMOTE_ACCESS_DENIED:
case CURLE_FILE_COULDNT_READ_FILE: case CURLE_FILE_COULDNT_READ_FILE: