aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-31 15:50:11 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-03-31 15:50:11 +0200
commite1509adbbb12851c30ba230650005bd141958249 (patch)
tree0cffca91088dff2eefed9d179862c7bb6fe8f844
parentd0877003475ecb3ea18a256239a9948fe0f28035 (diff)
Retry curl error 16
-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 22bde086e..78fcdc621 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -301,6 +301,7 @@ struct CurlDownloader : public Downloader
|| code == CURLE_COULDNT_RESOLVE_HOST
|| code == CURLE_RECV_ERROR
#if LIBCURL_VERSION_NUM >= 0x073200
+ || code == CURLE_HTTP2
|| code == CURLE_HTTP2_STREAM
#endif
) ? Transient :