]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r678761 from trunk:
authorJim Jagielski <jim@apache.org>
Fri, 15 Aug 2008 22:09:10 +0000 (22:09 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 15 Aug 2008 22:09:10 +0000 (22:09 +0000)
* 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.

Submitted by: rpluem
Reviewed by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@686393 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/proxy/mod_proxy_ftp.c

diff --git a/STATUS b/STATUS
index dcf27c72d624101674f94202a42dac4fcc8b4c6a..591463c6aae2d692f49b9a435c168ed6adada4d1 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -111,15 +111,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
         Trunk version of patch works
      +1: jorton, trawick, rpluem
 
- * mod_proxy_ftp: 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.
-    Trunk version of patch:
-       http://svn.apache.org/viewvc?view=rev&revision=678761
-    Backport version for 2.2.x of patch:
-       Trunk version of patch works
-    +1: rpluem, mturk, jim
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index aca1cc40eaa8f4a9567aec26be561270918d6a4a..d9a3f51a494ec217e04d4b9b37f137d9aefa2fe6 100644 (file)
@@ -1778,6 +1778,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) {