0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01: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, GATEWAY_TIMEOUT = 504,
HTTP_VERSION_NOT_SUPPORTED = 505, HTTP_VERSION_NOT_SUPPORTED = 505,
INSUFFICIENT_STORAGE = 507, INSUFFICIENT_STORAGE = 507,
A_TIMEOUT_OCCURRED = 524, // cloudflare
}; };
template<class T> template<class T>

View file

@ -100,6 +100,7 @@ ircd::http::reason
{ code::GATEWAY_TIMEOUT, "Gateway Timeout" }, { code::GATEWAY_TIMEOUT, "Gateway Timeout" },
{ code::HTTP_VERSION_NOT_SUPPORTED, "HTTP Version Not Supported" }, { code::HTTP_VERSION_NOT_SUPPORTED, "HTTP Version Not Supported" },
{ code::INSUFFICIENT_STORAGE, "Insufficient Storage" }, { code::INSUFFICIENT_STORAGE, "Insufficient Storage" },
{ code::A_TIMEOUT_OCCURRED, "A Timeout Occurred" },
}; };
template<class it, template<class it,