]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Set the connection addr from connection pool addres
authorMladen Turk <mturk@apache.org>
Thu, 9 Dec 2004 08:07:27 +0000 (08:07 +0000)
committerMladen Turk <mturk@apache.org>
Thu, 9 Dec 2004 08:07:27 +0000 (08:07 +0000)
since proxy_ftp does not use the determine_connection
call.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111359 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_ftp.c

index b0e9b41dc0691858abdb5c2d1a3855533ca1124d..c2257fa1d2df248c1ad47c4389a194c49bbfe77b 100644 (file)
@@ -926,7 +926,9 @@ static int proxy_ftp_handler(request_rec *r, proxy_worker *worker,
             }
             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);        
     }