mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Stopped the CORE filter from sending off an HTTP response when a
CONNECT tunnel was closed. Fixed some filter definition madness that proves that I need some sleep. PR: Obtained from: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88770 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -56,6 +56,8 @@
|
||||
* University of Illinois, Urbana-Champaign.
|
||||
*/
|
||||
|
||||
#define CORE_PRIVATE
|
||||
|
||||
#include "mod_proxy.h"
|
||||
|
||||
/*
|
||||
@@ -717,10 +719,9 @@ static void register_hooks(apr_pool_t *p)
|
||||
ap_hook_handler(proxy_handler, NULL, NULL, APR_HOOK_FIRST);
|
||||
/* filename-to-URI translation */
|
||||
ap_hook_translate_name(proxy_trans, NULL, NULL, APR_HOOK_FIRST);
|
||||
#ifdef FTP_FILTER
|
||||
/* filters */
|
||||
ap_register_output_filter("PROXY_SEND_DIR", ap_proxy_send_dir_filter, AP_FTYPE_CONNECTION);
|
||||
#endif
|
||||
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 */
|
||||
|
Reference in New Issue
Block a user