From: Willy Tarreau Date: Wed, 11 May 2011 14:00:54 +0000 (+0200) Subject: [MINOR] http: don't report the "haproxy" word on the monitoring response X-Git-Tag: v1.5-dev8~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027a85bb03c5524e62c50e228412d9be403d7f98;p=thirdparty%2Fhaproxy.git [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. --- diff --git a/src/proto_http.c b/src/proto_http.c index 379471efa8..af8adc92ce 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,