0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 19:28:52 +02:00

ircd::http: Support 524 "A Timeout Occurred"

This commit is contained in:
Jason Volk 2018-10-01 11:30:34 -07:00
parent 05cc6ddf83
commit cbf96969db
2 changed files with 2 additions and 0 deletions

View file

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

View file

@ -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,