diff options
| author | nicolov <nicolov@users.noreply.github.com> | 2017-10-22 14:25:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-22 14:25:01 -0700 |
| commit | 07754e36e6614ce53fa919e27763710e9f354c8c (patch) | |
| tree | af859f8ac329002c3cdb214e78a8babca92b5f52 /src/HttpSkipResponseCommand.cc | |
| parent | 450b4f467f9551a81ad6685129f27bb2c9899b58 (diff) | |
Retry on HTTP 502
Diffstat (limited to 'src/HttpSkipResponseCommand.cc')
| -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. |
