tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1477972 - /tomcat/trunk/java/org/apache/catalina/connector/CoyoteOutputStream.java
Date Wed, 01 May 2013 12:20:38 GMT
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


Mime
View raw message