]> granicus.if.org Git - apache/commitdiff
write Ok to tomcat.
authorJean-Frederic Clere <jfclere@apache.org>
Tue, 14 Apr 2009 14:48:34 +0000 (14:48 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Tue, 14 Apr 2009 14:48:34 +0000 (14:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@764804 13f79535-47bb-0310-9956-ffa450edef68

modules/cluster/mod_heartmonitor.c

index 0865297cb478503cc7c0c5c8a0ddbbad5c425008..2a5a40fa45978d22a9c4507b040bc5fa8be10f59 100644 (file)
@@ -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)