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 Tue, 03 Aug 2004 20:27:51 GMT
mturk       2004/08/03 13:27:51

  Modified:    ajp/proxy mod_proxy.h
  Log:
  Move min,smax and hmax params to worker, so they can be set
  before the connection pool is created
  
  Revision  Changes    Path
  1.6       +3 -3      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- mod_proxy.h	3 Aug 2004 19:49:04 -0000	1.5
  +++ mod_proxy.h	3 Aug 2004 20:27:51 -0000	1.6
  @@ -202,9 +202,6 @@
   typedef struct {
       apr_pool_t     *pool;   /* The pool used in constructor and destructor calls */
       apr_sockaddr_t *addr;   /* Preparsed remote address info */
  -    int            min;     /* Desired minimum number of available connections */
  -    int            smax;    /* Soft maximum on the total number of connections */
  -    int            hmax;    /* Hard maximum on the total number of connections */
   #if APR_HAS_THREADS
       apr_reslist_t  *res;    /* Connection resource list */
   #else
  @@ -223,6 +220,9 @@
       const char      *scheme;    /* scheme to use ajp|http|https */
       const char      *hostname;  /* remote backend address */
       apr_port_t      port;
  +    int             min;        /* Desired minimum number of available connections */
  +    int             smax;       /* Soft maximum on the total number of connections */
  +    int             hmax;       /* Hard maximum on the total number of connections */
       proxy_conn_pool *cp;        /* Connection pool to use */
       void            *opaque;    /* per scheme worker data */
   } proxy_worker;
  
  
  

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