0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::http: Add cloudflare 521 code.

This commit is contained in:
Jason Volk 2019-06-07 00:09:58 -07:00
parent c2ec2bf3c2
commit 5f248f5965
2 changed files with 2 additions and 0 deletions

View file

@ -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
};

View file

@ -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" },
};