| 714 | } |
| 715 | |
| 716 | static 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 | |
| 730 | static int hc_read_headers(request_rec *r) |
| 731 | { |
no test coverage detected