diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2017-11-01 22:43:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-01 22:43:34 +0900 |
| commit | aafa368885fb6b725e5e19b0b20f08a4cf4caa8b (patch) | |
| tree | b03ca6cb807b4c6569b45246213fdebdd53c5a81 | |
| parent | 992944257cd97bbe6f544cb43e4566aec5fa10ea (diff) | |
| parent | 07754e36e6614ce53fa919e27763710e9f354c8c (diff) | |
Merge pull request #1038 from nicolov/patch-1
Retry on HTTP 502
| -rw-r--r-- | src/HttpSkipResponseCommand.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc index 14bd37d4..a722d774 100644 --- a/src/HttpSkipResponseCommand.cc +++ b/src/HttpSkipResponseCommand.cc @@ -220,6 +220,7 @@ bool HttpSkipResponseCommand::processResponse() } throw DL_RETRY_EX2(MSG_RESOURCE_NOT_FOUND, error_code::RESOURCE_NOT_FOUND); + case 502: case 503: // Only retry if pretry-wait > 0. Hammering 'busy' server is not // a good idea. |
