]> granicus.if.org Git - apache/commitdiff
Change another variable that could be confused for conn_rec.
authorGraham Leggett <minfrin@apache.org>
Thu, 30 Dec 2010 18:32:15 +0000 (18:32 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 30 Dec 2010 18:32:15 +0000 (18:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053967 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 9aa168697f899edfdd6d7b6d4661283212f09c27..5a221429e74645faba0bd4d6ec9b44f19dc42305 100644 (file)
@@ -252,7 +252,7 @@ static void terminate_headers(apr_bucket_alloc_t *bucket_alloc,
 }
 
 static int pass_brigade(apr_bucket_alloc_t *bucket_alloc,
-                                 request_rec *r, proxy_conn_rec *conn,
+                                 request_rec *r, proxy_conn_rec *p_conn,
                                  conn_rec *origin, apr_bucket_brigade *bb,
                                  int flush)
 {
@@ -265,12 +265,12 @@ static int pass_brigade(apr_bucket_alloc_t *bucket_alloc,
     }
     apr_brigade_length(bb, 0, &transferred);
     if (transferred != -1)
-        conn->worker->s->transferred += transferred;
+        p_conn->worker->s->transferred += transferred;
     status = ap_pass_brigade(origin->output_filters, bb);
     if (status != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_ERR, status, r->server,
                      "proxy: pass request body failed to %pI (%s)",
-                     conn->addr, conn->hostname);
+                     p_conn->addr, p_conn->hostname);
         if (origin->aborted) {
             if (strcmp(apr_table_get(origin->notes,
                                      "SSL_connect_rv"), "err") == 0) {