You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/05/01 14:20:38 UTC

svn commit: r1477972 - /tomcat/trunk/java/org/apache/catalina/connector/CoyoteOutputStream.java

Author: markt
Date: Wed May  1 12:20:38 2013
New Revision: 1477972

URL: http://svn.apache.org/r1477972
Log:
Flush also needs the non-blocking test

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/CoyoteOutputStream.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/CoyoteOutputStream.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/CoyoteOutputStream.java?rev=1477972&r1=1477971&r2=1477972&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/CoyoteOutputStream.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/CoyoteOutputStream.java Wed May  1 12:20:38 2013
@@ -107,8 +107,8 @@ public class CoyoteOutputStream extends 
      * Will send the buffer to the client.
      */
     @Override
-    public void flush()
-        throws IOException {
+    public void flush() throws IOException {
+        checkNonBlockingWrite();
         ob.flush();
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org