parent
f0bbd153c6
commit
3cb0387d3f
1 changed files with 3 additions and 1 deletions
|
@ -273,7 +273,9 @@ struct CurlDownloader : public Downloader
|
||||||
httpStatus == 403 ? Forbidden :
|
httpStatus == 403 ? Forbidden :
|
||||||
(httpStatus == 408 || httpStatus == 500 || httpStatus == 503
|
(httpStatus == 408 || httpStatus == 500 || httpStatus == 503
|
||||||
|| httpStatus == 504 || httpStatus == 522 || httpStatus == 524
|
|| 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;
|
Misc;
|
||||||
|
|
||||||
attempt++;
|
attempt++;
|
||||||
|
|
Loading…
Reference in a new issue