tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shac...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/service/connector Ajp13ConnectionHandler.java
Date Thu, 15 Jun 2000 10:14:46 GMT
shachor     00/06/15 03:14:45

  Modified:    src/share/org/apache/tomcat/service/connector
                        Ajp13ConnectionHandler.java
  Log:
  Closing a socket when reusing it. Fix that.
  
  Revision  Changes    Path
  1.4       +6 -6      jakarta-tomcat/src/share/org/apache/tomcat/service/connector/Ajp13ConnectionHandler.java
  
  Index: Ajp13ConnectionHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/service/connector/Ajp13ConnectionHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Ajp13ConnectionHandler.java	2000/06/12 09:45:22	1.3
  +++ Ajp13ConnectionHandler.java	2000/06/15 10:14:44	1.4
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/service/connector/Ajp13ConnectionHandler.java,v
1.3 2000/06/12 09:45:22 shachor Exp $
  - * $Revision: 1.3 $
  - * $Date: 2000/06/12 09:45:22 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/service/connector/Ajp13ConnectionHandler.java,v
1.4 2000/06/15 10:14:44 shachor Exp $
  + * $Revision: 1.4 $
  + * $Date: 2000/06/15 10:14:44 $
    *
    * ====================================================================
    *
  @@ -160,9 +160,7 @@
                           contextM.service(req, res);
   
                           req.recycle();
  -                        res.recycle();                    
  -                        //System.out.println("Closing connection");
  -                        socket.close();                        
  +                        res.recycle();                                                
                   
                       break;
                       
                       case JK_AJP13_SHUTDOWN:
  @@ -174,6 +172,8 @@
                       break;
                   }                
               }
  +            //System.out.println("Closing connection");
  +            socket.close();
           } catch (Exception e) {
               e.printStackTrace();
           }
  
  
  

Mime
View raw message