httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r111359 - /httpd/httpd/trunk/modules/proxy/proxy_ftp.c
Date Thu, 09 Dec 2004 08:07:28 GMT
Author: mturk
Date: Thu Dec  9 00:07:27 2004
New Revision: 111359

URL: http://svn.apache.org/viewcvs?view=rev&rev=111359
Log:
Set the connection addr from connection pool addres
since proxy_ftp does not use the determine_connection
call.
Modified:
   httpd/httpd/trunk/modules/proxy/proxy_ftp.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_ftp.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/proxy_ftp.c?view=diff&rev=111359&p1=httpd/httpd/trunk/modules/proxy/proxy_ftp.c&r1=111358&p2=httpd/httpd/trunk/modules/proxy/proxy_ftp.c&r2=111359
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_ftp.c	(original)
+++ httpd/httpd/trunk/modules/proxy/proxy_ftp.c	Thu Dec  9 00:07:27 2004
@@ -926,7 +926,9 @@
             }
             return status;
         }
-        ap_set_module_config(c->conn_config, &proxy_ftp_module, backend);
+        /* TODO: see if ftp could use determine_connection */ 
+        backend->addr = worker->cp->addr;
+        ap_set_module_config(c->conn_config, &proxy_ftp_module, backend);        
     }
 
 

Mime
View raw message