From: Jean-Frederic Clere Date: Tue, 14 Apr 2009 14:48:34 +0000 (+0000) Subject: write Ok to tomcat. X-Git-Tag: 2.3.3~722 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c15909ac01134f0c4315de5e9463b73536ba407;p=thirdparty%2Fapache%2Fhttpd.git write Ok to tomcat. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@764804 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 0865297cb47..2a5a40fa459 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -440,7 +440,13 @@ static int hm_handler(request_rec *r) } apr_brigade_flatten(input_brigade, buf, &len); hm_processmsg(ctx, r->pool, r->connection->remote_addr, buf, len); - return HTTP_OK; + + ap_set_content_type(r, "text/plain"); + ap_set_content_length(r, 2); + ap_rprintf(r, "OK"); + ap_rflush(r); + + return OK; } static void hm_register_hooks(apr_pool_t *p)