hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r644943 - /httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java
Date Fri, 04 Apr 2008 21:35:47 GMT
Author: olegk
Date: Fri Apr  4 14:35:45 2008
New Revision: 644943

URL: http://svn.apache.org/viewvc?rev=644943&view=rev
Log:
HTTPCORE-157: ChunkedOutputStream#flush() changed to follow the spec of OutputStream#flush()

Modified:
    httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java

Modified: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java?rev=644943&r1=644942&r2=644943&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java
(original)
+++ httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java
Fri Apr  4 14:35:45 2008
@@ -171,10 +171,11 @@
     }
 
     /**
-     * Flushes the underlying stream, but leaves the internal buffer alone.
+     * Flushes the content buffer and the underlying stream.
      * @throws IOException
      */
     public void flush() throws IOException {
+        flushCache();
         this.out.flush();
     }
 



Mime
View raw message