Merge pull request #3474 from cole-h/error-on-unsupported-protocol

Don't retry on "unsupported protocol" error
This commit is contained in:
Eelco Dolstra 2020-04-06 09:07:13 +02:00 committed by GitHub
commit ebb20a5356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -390,6 +390,7 @@ struct CurlDownloader : public Downloader
case CURLE_SSL_CACERT_BADFILE:
case CURLE_TOO_MANY_REDIRECTS:
case CURLE_WRITE_ERROR:
case CURLE_UNSUPPORTED_PROTOCOL:
err = Misc;
break;
default: // Shut up warnings