You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2002/04/18 00:38:42 UTC

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common HandlerDispatch.java HandlerRequest.java

costin      02/04/17 15:38:42

  Modified:    jk/java/org/apache/jk/common HandlerDispatch.java
                        HandlerRequest.java
  Log:
  Update for the interface changes
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerDispatch.java
  
  Index: HandlerDispatch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerDispatch.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HandlerDispatch.java	20 Feb 2002 23:39:58 -0000	1.2
  +++ HandlerDispatch.java	17 Apr 2002 22:38:42 -0000	1.3
  @@ -126,7 +126,7 @@
           throws IOException
       {
           int type=msg.peekByte();
  -        msg.setTag( type );
  +        ep.setType( type );
           
           if( type > handlers.length ||
               handlers[type]==null ) {
  
  
  
  1.11      +1 -1      jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java
  
  Index: HandlerRequest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- HandlerRequest.java	8 Apr 2002 22:58:40 -0000	1.10
  +++ HandlerRequest.java	17 Apr 2002 22:38:42 -0000	1.11
  @@ -369,7 +369,7 @@
               }
   
               // XXX add isSameAddress check
  -            Channel ch=ep.getChannel();
  +            JkHandler ch=ep.getSource();
               if( ch instanceof ChannelSocket ) {
                   if( ! ((ChannelSocket)ch).isSameAddress(ep) ) {
                       log.error("Shutdown request not from 'same address' ");
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>