From 2896bb682691e8ce2be055a386bdeef93ae05586 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 19 Jan 2018 14:05:08 +0100 Subject: Don't retry CURLE_URL_MALFORMAT --- src/libstore/download.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore') diff --git a/src/libstore/download.cc b/src/libstore/download.cc index 4474dfd4b..ef417685f 100644 --- a/src/libstore/download.cc +++ b/src/libstore/download.cc @@ -303,6 +303,7 @@ struct CurlDownloader : public Downloader // Don't bother retrying on certain cURL errors either switch (code) { case CURLE_FAILED_INIT: + case CURLE_URL_MALFORMAT: case CURLE_NOT_BUILT_IN: case CURLE_REMOTE_ACCESS_DENIED: case CURLE_FILE_COULDNT_READ_FILE: -- cgit v1.2.3