| 699 | } |
| 700 | |
| 701 | static apr_status_t hc_check_tcp(baton_t *baton) |
| 702 | { |
| 703 | int status; |
| 704 | sctx_t *ctx = baton->ctx; |
| 705 | proxy_worker *hc = baton->hc; |
| 706 | proxy_conn_rec *backend = NULL; |
| 707 | |
| 708 | status = hc_get_backend("HCTCP", &backend, hc, ctx); |
| 709 | if (status == OK) { |
| 710 | status = ap_proxy_connect_backend("HCTCP", backend, hc, ctx->s); |
| 711 | /* does an unconditional ap_proxy_is_socket_connected() */ |
| 712 | } |
| 713 | return backend_cleanup("HCTCP", backend, ctx->s, status); |
| 714 | } |
| 715 | |
| 716 | static int hc_send(request_rec *r, const char *out, apr_bucket_brigade *bb) |
| 717 | { |
no test coverage detected