[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:
Willy Tarreau 2011-05-11 16:00:54 +02:00
parent 7c51a732f7
commit 027a85bb03

View File

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