mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::http: Add cloudflare 521 code.
This commit is contained in:
parent
c2ec2bf3c2
commit
5f248f5965
2 changed files with 2 additions and 0 deletions
|
@ -338,6 +338,7 @@ enum ircd::http::code
|
|||
GATEWAY_TIMEOUT = 504,
|
||||
HTTP_VERSION_NOT_SUPPORTED = 505,
|
||||
INSUFFICIENT_STORAGE = 507,
|
||||
WEB_SERVER_IS_DOWN = 521, // cloudflare
|
||||
A_TIMEOUT_OCCURRED = 524, // cloudflare
|
||||
};
|
||||
|
||||
|
|
|
@ -102,6 +102,7 @@ ircd::http::reason
|
|||
{ code::GATEWAY_TIMEOUT, "Gateway Timeout" },
|
||||
{ code::HTTP_VERSION_NOT_SUPPORTED, "HTTP Version Not Supported" },
|
||||
{ code::INSUFFICIENT_STORAGE, "Insufficient Storage" },
|
||||
{ code::WEB_SERVER_IS_DOWN, "Web Server Is Down" },
|
||||
{ code::A_TIMEOUT_OCCURRED, "A Timeout Occurred" },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue