tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c
Date Wed, 04 Aug 2004 14:37:48 GMT
mturk       2004/08/04 07:37:48

  Modified:    ajp/proxy mod_proxy.c
  Log:
  Remove unusable code from. The constructor and destructor will
  be in proxy_util.
  
  Revision  Changes    Path
  1.19      +2 -14     jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- mod_proxy.c	4 Aug 2004 12:34:41 -0000	1.18
  +++ mod_proxy.c	4 Aug 2004 14:37:48 -0000	1.19
  @@ -457,12 +457,6 @@
       return HTTP_MOVED_PERMANENTLY;
   }
   
  -static apr_status_t worker_cleanup(void *theworker)
  -{
  -    
  -    return APR_SUCCESS;
  -}
  -
   /* -------------------------------------------------------------- */
   /* Invoke handler */
   
  @@ -578,12 +572,6 @@
               ap_set_module_config(r->connection->conn_config,
                                    &proxy_module, mconf);
           }
  -#if 0
  -        /* register the connection->pool cleanup */
  -        apr_pool_cleanup_register(r->connection->pool,
  -                                  (void *)mconf, worker_cleanup,
  -                                   apr_pool_cleanup_null);      
  -#endif
       }
       /* use the current balancer and worker. 
        * the proxy_conn will be set in particular scheme handler
  @@ -857,8 +845,8 @@
           return "ProxyPass needs a path when not defined in a location";
   
       new = apr_array_push(conf->aliases);
  -    new->fake = apr_pstrdup(cmd->pool, f);
  -    new->real = apr_pstrdup(cmd->pool, r);
  +    new->fake = f;
  +    new->real = r;
       
       arr = apr_table_elts(params);
       elts = (const apr_table_entry_t *)arr->elts;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message