Satisfy mgr:index requests using
* a 200 OK response with a body derived from the MGR_INDEX template (if
that template file was found during (re)configuration) or
* a 404 (Not Found) error response (otherwise).
Broken in 2019 commit
7e6eabb, when Squid started replying using a 200
OK response with a hard-coded "mgr_index" text as a body, ignoring any
configured MGR_INDEX template.
const char *text;
}
+/// error messages that cannot be configured/customized externally
error_hard_text[] = {
{
{
ERR_REQUEST_START_TIMEOUT,
"request start timedout"
- },
- {
- MGR_INDEX,
- "mgr_index"
}
};