mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-04 16:57:58 +00:00
[MINOR] http: don't report the "haproxy" word on the monitoring response
Some people like to make the monitoring URL testable from unsafe locations. Reporting haproxy's existence there can sometimes be problematic. This patch should not be backported to 1.4 because it is possible, eventhough unlikely, that some scripts rely on this word to appear there.
This commit is contained in:
parent
7c51a732f7
commit
027a85bb03
@ -75,7 +75,7 @@ const char HTTP_200[] =
|
||||
"Connection: close\r\n"
|
||||
"Content-Type: text/html\r\n"
|
||||
"\r\n"
|
||||
"<html><body><h1>200 OK</h1>\nHAProxy: service ready.\n</body></html>\n";
|
||||
"<html><body><h1>200 OK</h1>\nService ready.\n</body></html>\n";
|
||||
|
||||
const struct chunk http_200_chunk = {
|
||||
.str = (char *)&HTTP_200,
|
||||
|
Loading…
Reference in New Issue
Block a user