]> granicus.if.org Git - apache/commitdiff
get proxy in sync with the update to ap_run_create_connection
authorJeff Trawick <trawick@apache.org>
Tue, 18 Dec 2001 20:29:27 +0000 (20:29 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 18 Dec 2001 20:29:27 +0000 (20:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92520 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_ftp.c
modules/proxy/proxy_http.c

index 78a32826092f3888c89db0d2447fc030e78a706b..c74c4d151512d8322f762033b910df8da6e81469 100644 (file)
@@ -747,7 +747,7 @@ int ap_proxy_ftp_handler(request_rec *r, proxy_server_conf *conf,
     }
 
     /* the socket is now open, create a new connection */
-    origin = ap_run_create_connection(p, r->server, sock, r->connection->id);
+    origin = ap_run_create_connection(p, r->server, sock, r->connection->id, r->connection->sbh);
     if (!origin) {
        /* the peer reset the connection already; ap_new_connection() 
         * closed the socket */
@@ -1550,7 +1550,7 @@ int ap_proxy_ftp_handler(request_rec *r, proxy_server_conf *conf,
     }
 
     /* the transfer socket is now open, create a new connection */
-    remote = ap_run_create_connection(p, r->server, remote_sock, r->connection->id);
+    remote = ap_run_create_connection(p, r->server, remote_sock, r->connection->id, r->connection->sbh);
     if (!remote) {
        /* the peer reset the connection already; ap_new_connection() 
         * closed the socket */
index a3bd3d1b023104b883233bb49e9cf752d3d42539..5c375a591f6bf96af832686bd388a5fecca7602e 100644 (file)
@@ -416,7 +416,7 @@ apr_status_t ap_proxy_http_create_connection(apr_pool_t *p, request_rec *r,
 
         /* the socket is now open, create a new backend server connection */
         *origin = ap_run_create_connection(c->pool, r->server, p_conn->sock,
-                                   r->connection->id);
+                                   r->connection->id, r->connection->sbh);
         if (!origin) {
         /* the peer reset the connection already; ap_new_connection() 
          * closed the socket