about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-01-19T13·05+0100
committerEelco Dolstra <edolstra@gmail.com>2018-01-19T13·05+0100
commit2896bb682691e8ce2be055a386bdeef93ae05586 (patch)
tree8c2b8101b241dbe79907645339c5ebe64aa409cd /src
parent87e3d142cce442417b52610652b9d1a4fd7a6b4f (diff)
Don't retry CURLE_URL_MALFORMAT
Diffstat (limited to 'src')
-rw-r--r--src/libstore/download.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 4474dfd4b968..ef417685f1a7 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: