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.h
Date Mon, 09 Aug 2004 08:04:11 GMT
mturk       2004/08/09 01:04:11

  Modified:    ajp/proxy mod_proxy.h
  Log:
  Added route and route redirect to the runtime worker.
  
  Revision  Changes    Path
  1.26      +5 -2      jakarta-tomcat-connectors/ajp/proxy/mod_proxy.h
  
  Index: mod_proxy.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/ajp/proxy/mod_proxy.h,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- mod_proxy.h	6 Aug 2004 11:41:40 -0000	1.25
  +++ mod_proxy.h	9 Aug 2004 08:04:11 -0000	1.26
  @@ -209,6 +209,7 @@
   #if APR_HAS_THREADS
       apr_reslist_t  *res;    /* Connection resource list */
   #endif
  +    int            nfree;   /* Balancer free count number */
       proxy_conn_rec *conn;   /* Single connection for prefork mpm's */
   };
   
  @@ -250,6 +251,8 @@
       double          lbsatus;    /* Current lbstatus */
       apr_size_t      transfered; /* Number of bytes transfered to remote */
       apr_size_t      readed;     /* Number of bytes readed from remote */
  +    const char      *route;
  +    const char      *redirect;
   } proxy_runtime_worker;
   
   struct proxy_balancer {
  @@ -311,7 +314,7 @@
    *
    */
   APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, pre_request, (proxy_worker **worker,
  -                          struct proxy_balancer **balancer,
  +                          proxy_balancer **balancer,
                             request_rec *r,
                             proxy_server_conf *conf, char **url))                       
  
   /**
  @@ -319,7 +322,7 @@
    * It is called after request for updating runtime balancer status.
    */
   APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, post_request, (proxy_worker *worker,
  -                          struct proxy_balancer *balancer, request_rec *r,
  +                          proxy_balancer *balancer, request_rec *r,
                             proxy_server_conf *conf))
   
   
  
  
  

---------------------------------------------------------------------
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