costin      02/04/04 14:29:53

  Modified:    coyote/src/java/org/apache/coyote Request.java
  Log:
  Remove workerId, use the existing instanceId
  
  Revision  Changes    Path
  1.9       +4 -7      
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java
  
  Index: Request.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Request.java      3 Apr 2002 23:55:05 -0000       1.8
  +++ Request.java      4 Apr 2002 22:29:53 -0000       1.9
  @@ -179,7 +179,6 @@
       protected Parameters parameters = new Parameters();
   
       protected MessageBytes remoteUser=new MessageBytes();
  -    protected MessageBytes workerId=new MessageBytes();
       protected MessageBytes authType=new MessageBytes();
       protected Hashtable attributes=new Hashtable();
   
  @@ -187,7 +186,9 @@
   
   
       /**
  -     * Get the instance id (or JVM route).
  +     * Get the instance id (or JVM route). Curently Ajp is sending it with each
  +     * request. In future this should be fixed, and sent only once ( or
  +     * 'negociated' at config time so both tomcat and apache share the same name.
        * 
        * @return the instance id
        */
  @@ -384,10 +385,6 @@
           return authType;
       }
   
  -    public MessageBytes getWorkerId() {
  -        return workerId;
  -    }
  -
       // -------------------- Input Buffer --------------------
   
   
  @@ -467,9 +464,9 @@
           remoteAddrMB.setString("127.0.0.1");
           remoteHostMB.setString("localhost");
   
  +        instanceId.recycle();
           remoteUser.recycle();
           authType.recycle();
  -        workerId.recycle();
           attributes.clear();
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to