]> granicus.if.org Git - apache/commitdiff
* Ensure that the SSL filters are not inserted on FTP data connections even
authorRuediger Pluem <rpluem@apache.org>
Tue, 22 Jul 2008 13:43:24 +0000 (13:43 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 22 Jul 2008 13:43:24 +0000 (13:43 +0000)
  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

index 90906bc4565eb55a1a848ae380265106509b85c1..a23ccdf476c1dbc51a34b914d1779af766226470 100644 (file)
@@ -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) {