mirror of
https://github.com/aria2/aria2.git
synced 2025-02-26 08:22:11 +00:00
Retry with 504 status code
This commit is contained in:
parent
8203ee3d0d
commit
ad6d799b98
@ -229,6 +229,10 @@ bool HttpSkipResponseCommand::processResponse()
|
||||
}
|
||||
throw DL_ABORT_EX2(fmt(EX_BAD_STATUS, statusCode),
|
||||
error_code::HTTP_SERVICE_UNAVAILABLE);
|
||||
case 504:
|
||||
// This is Gateway Timeout, so try again
|
||||
throw DL_RETRY_EX2(fmt(EX_BAD_STATUS, statusCode),
|
||||
error_code::HTTP_SERVICE_UNAVAILABLE);
|
||||
};
|
||||
|
||||
throw DL_ABORT_EX2(fmt(EX_BAD_STATUS, statusCode),
|
||||
|
Loading…
Reference in New Issue
Block a user