diff --git a/include/ircd/http.h b/include/ircd/http.h index 1f118b3b6..0bcffd18b 100644 --- a/include/ircd/http.h +++ b/include/ircd/http.h @@ -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 }; diff --git a/ircd/http.cc b/ircd/http.cc index b36916e5f..6207f86b3 100644 --- a/ircd/http.cc +++ b/ircd/http.cc @@ -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" }, };