diff options
-rw-r--r-- | src/libstore/download.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc index a56fd6922..c0cec658c 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++; |