httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r764804 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Date Tue, 14 Apr 2009 14:48:34 GMT
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)



Mime
View raw message