remm        2004/01/08 05:09:39

  Modified:    coyote/src/java/org/apache/coyote/tomcat4 OutputBuffer.java
  Log:
  - Port patch to 4.1.x.
  
  Revision  Changes    Path
  1.12      +6 -0      
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/OutputBuffer.java
  
  Index: OutputBuffer.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/OutputBuffer.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- OutputBuffer.java 18 Sep 2003 16:13:51 -0000      1.11
  +++ OutputBuffer.java 8 Jan 2004 13:09:39 -0000       1.12
  @@ -362,6 +362,12 @@
           if (realFlush) {
               coyoteResponse.action(ActionCode.ACTION_CLIENT_FLUSH, 
                                     coyoteResponse);
  +            // If some exception occurred earlier, or if some IOE occurred
  +            // here, notify the servlet with an IOE
  +            if (coyoteResponse.isExceptionPresent()) {
  +                throw new ClientAbortException
  +                    (coyoteResponse.getErrorException());
  +            }
           }
   
       }
  
  
  

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

Reply via email to