You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jf...@apache.org on 2009/04/14 16:48:34 UTC
svn commit: r764804 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Author: jfclere
Date: Tue Apr 14 14:48:34 2009
New Revision: 764804
URL: http://svn.apache.org/viewvc?rev=764804&view=rev
Log:
write Ok to tomcat.
Modified:
httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=764804&r1=764803&r2=764804&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Tue Apr 14 14:48:34 2009
@@ -440,7 +440,13 @@
}
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)