MCPcopy Create free account
hub / github.com/apache/httpd / hc_send

Function hc_send

modules/proxy/mod_proxy_hcheck.c:716–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714}
715
716static int hc_send(request_rec *r, const char *out, apr_bucket_brigade *bb)
717{
718 apr_status_t rv;
719 conn_rec *c = r->connection;
720 apr_bucket_alloc_t *ba = c->bucket_alloc;
721 ap_log_error(APLOG_MARK, APLOG_TRACE7, 0, r->server, "%s", out);
722 APR_BRIGADE_INSERT_TAIL(bb, apr_bucket_pool_create(out, strlen(out),
723 r->pool, ba));
724 APR_BRIGADE_INSERT_TAIL(bb, apr_bucket_flush_create(ba));
725 rv = ap_pass_brigade(c->output_filters, bb);
726 apr_brigade_cleanup(bb);
727 return (rv) ? !OK : OK;
728}
729
730static int hc_read_headers(request_rec *r)
731{

Callers 1

hc_check_httpFunction · 0.85

Calls 2

ap_pass_brigadeFunction · 0.85
ap_log_errorFunction · 0.50

Tested by

no test coverage detected