about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/download.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index a56fd6922a5c..c0cec658cbbf 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -273,7 +273,9 @@ struct CurlDownloader : public Downloader
                     httpStatus == 403 ? Forbidden :
                     (httpStatus == 408 || httpStatus == 500 || httpStatus == 503
                         || httpStatus == 504  || httpStatus == 522 || httpStatus == 524
-                        || code == CURLE_COULDNT_RESOLVE_HOST || code == CURLE_RECV_ERROR) ? Transient :
+                        || code == CURLE_COULDNT_RESOLVE_HOST
+                        || code == CURLE_RECV_ERROR
+                        || code == CURLE_HTTP2_STREAM) ? Transient :
                     Misc;
 
                 attempt++;