From 027a85bb03c5524e62c50e228412d9be403d7f98 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 11 May 2011 16:00:54 +0200 Subject: [PATCH] [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. --- src/proto_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index 379471efa..af8adc92c 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -75,7 +75,7 @@ const char HTTP_200[] = "Connection: close\r\n" "Content-Type: text/html\r\n" "\r\n" - "

200 OK

\nHAProxy: service ready.\n\n"; + "

200 OK

\nService ready.\n\n"; const struct chunk http_200_chunk = { .str = (char *)&HTTP_200,