Retry curl error 16

This commit is contained in:
Eelco Dolstra 2017-03-31 15:50:11 +02:00
parent d087700347
commit e1509adbbb
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -301,6 +301,7 @@ struct CurlDownloader : public Downloader
|| code == CURLE_COULDNT_RESOLVE_HOST || code == CURLE_COULDNT_RESOLVE_HOST
|| code == CURLE_RECV_ERROR || code == CURLE_RECV_ERROR
#if LIBCURL_VERSION_NUM >= 0x073200 #if LIBCURL_VERSION_NUM >= 0x073200
|| code == CURLE_HTTP2
|| code == CURLE_HTTP2_STREAM || code == CURLE_HTTP2_STREAM
#endif #endif
) ? Transient : ) ? Transient :