write Ok to tomcat.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@764804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Frederic Clere
2009-04-14 14:48:34 +00:00
parent eb25ea2276
commit 2c15909ac0

View 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)