billbarker    2003/07/29 19:25:54

  Modified:    jk/java/org/apache/jk/server JkCoyoteHandler.java
  Log:
  Make certain that we tell Apache that we have finished with the request.
  
  If the Adapter throws an exception before entering the Pipeline, we end up with both 
Apache and Tomcat trying to read the Channel and hence not serving requests.
  
  Reported By: [EMAIL PROTECTED] Kwan, Kenneth Y
  
  Revision  Changes    Path
  1.42      +3 -0      
jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java
  
  Index: JkCoyoteHandler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- JkCoyoteHandler.java      17 May 2003 03:21:33 -0000      1.41
  +++ JkCoyoteHandler.java      30 Jul 2003 02:25:53 -0000      1.42
  @@ -295,6 +295,9 @@
           } catch( Exception ex ) {
               ex.printStackTrace();
           }
  +        if(ep.getStatus() != JK_STATUS_CLOSED) {
  +            res.finish();
  +        }
   
           ep.setStatus( JK_STATUS_NEW );
   
  
  
  

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

Reply via email to