about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-31T13·50+0200
committerEelco Dolstra <edolstra@gmail.com>2017-03-31T13·50+0200
commite1509adbbb12851c30ba230650005bd141958249 (patch)
tree0cffca91088dff2eefed9d179862c7bb6fe8f844 /src/libstore
parentd0877003475ecb3ea18a256239a9948fe0f28035 (diff)
Retry curl error 16
Diffstat (limited to 'src/libstore')
-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 22bde086e6a2..78fcdc62189a 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 :