File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ const RETRY_STATUS_CODES: &[u32] = &[
70
70
http:: HTTP_STATUS_503_SERVICE_UNAVAILABLE ,
71
71
http:: HTTP_STATUS_504_GATEWAY_TIMEOUT ,
72
72
http:: HTTP_STATUS_507_INSUFFICIENT_STORAGE ,
73
+ http:: HTTP_STATUS_524_CLOUDFLARE_TIMEOUT ,
73
74
] ;
74
75
75
76
/// Helper for the API access.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub const HTTP_STATUS_502_BAD_GATEWAY: u32 = 502;
10
10
pub const HTTP_STATUS_503_SERVICE_UNAVAILABLE : u32 = 503 ;
11
11
pub const HTTP_STATUS_504_GATEWAY_TIMEOUT : u32 = 504 ;
12
12
pub const HTTP_STATUS_507_INSUFFICIENT_STORAGE : u32 = 507 ;
13
+ pub const HTTP_STATUS_524_CLOUDFLARE_TIMEOUT : u32 = 524 ;
13
14
14
15
lazy_static ! {
15
16
static ref LINK_TOKEN_RE : Regex = Regex :: new(
You can’t perform that action at this time.
0 commit comments