PROXY_DECLARE(int) ap_proxy_is_hostname(struct dirconn_entry *This, apr_pool_t *p);
PROXY_DECLARE(int) ap_proxy_is_word(struct dirconn_entry *This, apr_pool_t *p);
PROXY_DECLARE(int) ap_proxy_checkproxyblock(request_rec *r, proxy_server_conf *conf, apr_sockaddr_t *uri_addr);
-PROXY_DECLARE(int) ap_proxy_pre_http_connection(conn_rec *c);
PROXY_DECLARE(int) ap_proxy_pre_http_request(conn_rec *c, request_rec *r);
PROXY_DECLARE(apr_status_t) ap_proxy_string_read(conn_rec *c, apr_bucket_brigade *bb, char *buff, size_t bufflen, int *eos);
PROXY_DECLARE(void) ap_proxy_reset_output_filters(conn_rec *c);
*/
/* set up the connection filters */
- ap_proxy_pre_http_connection(origin);
+ ap_run_install_transport_filters(origin, sock);
/* possible results: */
/* 120 Service ready in nnn minutes. */
}
/* set up the connection filters */
- ap_proxy_pre_http_connection(data);
-
+ ap_run_install_transport_filters(data, data_sock);
/*
* VI: Receive the Response ------------------------
p_conn->addr, p_conn->name);
/* set up the connection filters */
- ap_proxy_pre_http_connection(*origin);
+ ap_run_install_transport_filters(*origin, p_conn->sock);
}
return OK;
}
}
/* set up the minimal filter set */
-PROXY_DECLARE(int) ap_proxy_pre_http_connection(conn_rec *c)
-{
- ap_add_input_filter("CORE_IN", NULL, NULL, c);
- ap_add_output_filter("CORE", NULL, NULL, c);
- return OK;
-}
PROXY_DECLARE(int) ap_proxy_pre_http_request(conn_rec *c, request_rec *r)
{
ap_add_input_filter("HTTP_IN", NULL, r, c);