From aab8e406ce1f91779fa40860f1ac5a1b59f7fbca Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Tue, 22 Jul 2008 13:43:24 +0000 Subject: [PATCH] * Ensure that the SSL filters are not inserted on FTP data connections even if the virtual host that causes the proxy request has SSL enabled. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@678761 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_ftp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/proxy/mod_proxy_ftp.c b/modules/proxy/mod_proxy_ftp.c index 90906bc456..a23ccdf476 100644 --- a/modules/proxy/mod_proxy_ftp.c +++ b/modules/proxy/mod_proxy_ftp.c @@ -1777,6 +1777,11 @@ static int proxy_ftp_handler(request_rec *r, proxy_worker *worker, return HTTP_INTERNAL_SERVER_ERROR; } + /* + * We do not do SSL over the data connection, even if the virtual host we + * are in might have SSL enabled + */ + ap_proxy_ssl_disable(data); /* set up the connection filters */ rc = ap_run_pre_connection(data, data_sock); if (rc != OK && rc != DONE) { -- 2.40.0