You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2008/04/05 13:36:44 UTC
svn commit: r645081 - in /httpcomponents/httpcore/trunk: RELEASE_NOTES.txt
module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java
Author: olegk
Date: Sat Apr 5 04:36:42 2008
New Revision: 645081
URL: http://svn.apache.org/viewvc?rev=645081&view=rev
Log:
HTTPCORE-157: ChunkedOutputStream#flush() changed to follow the spec of OutputStream#flush()
Modified:
httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/ChunkedOutputStream.java
Modified: httpcomponents/httpcore/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/RELEASE_NOTES.txt?rev=645081&r1=645080&r2=645081&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpcore/trunk/RELEASE_NOTES.txt Sat Apr 5 04:36:42 2008
@@ -1,6 +1,9 @@
Changes since 4.0 Beta 1
-------------------
+* [HTTPCORE-157] ChunkedOutputStream#flush() now behaves consistently with the
+ specification of OutputStream#flush().
+
* [HTTPCORE-147] Fixed handling of requests with partially consumed content
in ThrottlingHttpServiceHandler.
Oleg Kalnichevski <olegk at apache.org>
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=645081&r1=645080&r2=645081&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 Sat Apr 5 04:36:42 2008
@@ -41,8 +41,6 @@
* See <a href="http://www.w3.org/Protocols/rfc2616/rfc2616.txt">RFC 2616</a>,
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6">section 3.6.1</a>.
* Writes are buffered to an internal buffer (2048 default size).
- * Chunks are guaranteed to be at least as large as the buffer size
- * (except for the last chunk).
*
* @author Mohammad Rezaei (Goldman, Sachs & Co.)
* @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>