mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::http: Support 524 "A Timeout Occurred"
This commit is contained in:
parent
05cc6ddf83
commit
cbf96969db
2 changed files with 2 additions and 0 deletions
|
@ -307,6 +307,7 @@ enum ircd::http::code
|
|||
GATEWAY_TIMEOUT = 504,
|
||||
HTTP_VERSION_NOT_SUPPORTED = 505,
|
||||
INSUFFICIENT_STORAGE = 507,
|
||||
A_TIMEOUT_OCCURRED = 524, // cloudflare
|
||||
};
|
||||
|
||||
template<class T>
|
||||
|
|
|
@ -100,6 +100,7 @@ ircd::http::reason
|
|||
{ code::GATEWAY_TIMEOUT, "Gateway Timeout" },
|
||||
{ code::HTTP_VERSION_NOT_SUPPORTED, "HTTP Version Not Supported" },
|
||||
{ code::INSUFFICIENT_STORAGE, "Insufficient Storage" },
|
||||
{ code::A_TIMEOUT_OCCURRED, "A Timeout Occurred" },
|
||||
};
|
||||
|
||||
template<class it,
|
||||
|
|
Loading…
Reference in a new issue