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/jk/native/common jk_service.h jk_worker.c
Date Mon, 14 Feb 2005 17:26:34 GMT
mturk       2005/02/14 09:26:34

  Modified:    jk/native/common jk_service.h jk_worker.c
  Log:
  Add worker type to structure, so status can decide which private to use.
  
  Revision  Changes    Path
  1.27      +5 -2      jakarta-tomcat-connectors/jk/native/common/jk_service.h
  
  Index: jk_service.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_service.h,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- jk_service.h	14 Feb 2005 07:57:18 -0000	1.26
  +++ jk_service.h	14 Feb 2005 17:26:34 -0000	1.27
  @@ -278,6 +278,8 @@
    */
   struct jk_endpoint
   {
  +    size_t rd;
  +    size_t wr;
   
       /* 
        * A 'this' pointer which is used by the subclasses of this class to
  @@ -361,7 +363,8 @@
        * (e.g. ajp12 or ajp13 or ajp14).  
        */
       void *worker_private;
  -
  +    
  +    const char *type;
       /*
        * For all of the below (except destroy), the first argument is
        * essentially a 'this' pointer.  
  
  
  
  1.30      +2 -2      jakarta-tomcat-connectors/jk/native/common/jk_worker.c
  
  Index: jk_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_worker.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- jk_worker.c	13 Feb 2005 12:20:01 -0000	1.29
  +++ jk_worker.c	14 Feb 2005 17:26:34 -0000	1.30
  @@ -169,7 +169,7 @@
                   }
               }
           }
  -
  +        w->type = type;
           *rc = w;
           JK_TRACE_EXIT(l);
           return JK_TRUE;
  
  
  

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