mirror of https://github.com/aria2/aria2
Retry on HTTP 502
parent
450b4f467f
commit
07754e36e6
|
@ -220,6 +220,7 @@ bool HttpSkipResponseCommand::processResponse()
|
||||||
}
|
}
|
||||||
throw DL_RETRY_EX2(MSG_RESOURCE_NOT_FOUND,
|
throw DL_RETRY_EX2(MSG_RESOURCE_NOT_FOUND,
|
||||||
error_code::RESOURCE_NOT_FOUND);
|
error_code::RESOURCE_NOT_FOUND);
|
||||||
|
case 502:
|
||||||
case 503:
|
case 503:
|
||||||
// Only retry if pretry-wait > 0. Hammering 'busy' server is not
|
// Only retry if pretry-wait > 0. Hammering 'busy' server is not
|
||||||
// a good idea.
|
// a good idea.
|
||||||
|
|
Loading…
Reference in New Issue