tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1198607 - /tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java
Date Mon, 07 Nov 2011 02:40:27 GMT
Author: kkolinko
Date: Mon Nov  7 02:40:26 2011
New Revision: 1198607

URL: http://svn.apache.org/viewvc?rev=1198607&view=rev
Log:
Add synchronization to close()

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java?rev=1198607&r1=1198606&r2=1198607&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java Mon
Nov  7 02:40:26 2011
@@ -66,7 +66,7 @@ public class FlushableGZIPOutputStream e
     }
 
     @Override
-    public void close() throws IOException {
+    public synchronized void close() throws IOException {
         flushLastByte();
         super.close();
     }



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


Mime
View raw message