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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to