tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1377342 - /tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java
Date Sat, 25 Aug 2012 20:07:00 GMT
Author: markt
Date: Sat Aug 25 20:06:59 2012
New Revision: 1377342

URL: http://svn.apache.org/viewvc?rev=1377342&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53725
Fix corruption in some GZIP'd content

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=1377342&r1=1377341&r2=1377342&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/filters/FlushableGZIPOutputStream.java Sat
Aug 25 20:06:59 2012
@@ -137,7 +137,6 @@ public class FlushableGZIPOutputStream e
             if (len > 0) {
                 out.write(buf, 0, len);
             }
-        } while (len != 0);
+        } while (!def.needsInput());
     }
-
 }



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


Mime
View raw message