Skip to content

Commit 07754e3

Browse files
authored
Retry on HTTP 502
1 parent 450b4f4 commit 07754e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/HttpSkipResponseCommand.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ bool HttpSkipResponseCommand::processResponse()
220220
}
221221
throw DL_RETRY_EX2(MSG_RESOURCE_NOT_FOUND,
222222
error_code::RESOURCE_NOT_FOUND);
223+
case 502:
223224
case 503:
224225
// Only retry if pretry-wait > 0. Hammering 'busy' server is not
225226
// a good idea.

0 commit comments

Comments
 (0)