ap_hook_translate_name(proxy_trans, NULL, NULL, APR_HOOK_FIRST);
/* filters */
ap_register_output_filter("PROXY_SEND_DIR", ap_proxy_send_dir_filter, AP_FTYPE_CONNECTION);
- ap_register_output_filter("PROXY_NULL", ap_proxy_null_filter, AP_FTYPE_NETWORK);
/* fixups */
ap_hook_fixups(proxy_fixup, NULL, NULL, APR_HOOK_FIRST);
/* post read_request handling */
int ap_proxy_connect_handler(request_rec *r, char *url,
const char *proxyhost, int proxyport);
-apr_status_t ap_proxy_null_filter(ap_filter_t *f, apr_bucket_brigade *bb);
/* proxy_ftp.c */
return 0;
}
-/* a NULL filter for the connect tunnel */
-apr_status_t ap_proxy_null_filter(ap_filter_t *f, apr_bucket_brigade *bb)
-{
- return APR_SUCCESS;
-}
-
int ap_proxy_connect_handler(request_rec *r, char *url,
const char *proxyname, int proxyport)
{
*/
r->output_filters = NULL;
r->connection->output_filters = NULL;
- ap_add_output_filter("PROXY_NULL", NULL, r, r->connection);
/* If we are connecting through a remote proxy, we need to pass