From: Ryan Bloom Date: Thu, 15 Nov 2001 20:55:13 +0000 (+0000) Subject: Fix the SSL filter logic. The SSL filter is not a network filter, because X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6539d1c4db7cc1562018847c90bc37e2e9978406;p=thirdparty%2Fapache%2Fhttpd.git Fix the SSL filter logic. The SSL filter is not a network filter, because it does not actually do the reading and writing to the network. By moving that filter to in between CONNECTION and NETWORK filters, we ensure that SSL is always called before the core. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@91969 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index 1f6ca470576..249116423a1 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -578,8 +578,8 @@ void ssl_io_filter_init(conn_rec *c, SSL *ssl) void ssl_io_filter_register(apr_pool_t *p) { - ap_register_input_filter (ssl_io_filter, ssl_io_filter_Input, AP_FTYPE_NETWORK); - ap_register_output_filter (ssl_io_filter, ssl_io_filter_Output, AP_FTYPE_NETWORK); + ap_register_input_filter (ssl_io_filter, ssl_io_filter_Input, AP_FTYPE_CONNECTION + 5); + ap_register_output_filter (ssl_io_filter, ssl_io_filter_Output, AP_FTYPE_CONNECTION + 5); return; }