Return-Path: Delivered-To: apmail-hc-commits-archive@www.apache.org Received: (qmail 84681 invoked from network); 23 Mar 2009 20:14:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2009 20:14:34 -0000 Received: (qmail 86646 invoked by uid 500); 23 Mar 2009 20:14:34 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 86617 invoked by uid 500); 23 Mar 2009 20:14:34 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 86591 invoked by uid 99); 23 Mar 2009 20:14:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 20:14:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 20:14:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9A26223888E7; Mon, 23 Mar 2009 20:14:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r757528 - in /httpcomponents/httpclient/trunk: RELEASE_NOTES.txt httpclient/src/main/java/org/apache/http/impl/conn/LoggingSessionInputBuffer.java Date: Mon, 23 Mar 2009 20:14:05 -0000 To: commits@hc.apache.org From: olegk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090323201405.9A26223888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olegk Date: Mon Mar 23 20:14:05 2009 New Revision: 757528 URL: http://svn.apache.org/viewvc?rev=757528&view=rev Log: HTTPCLIENT-837: Fixed problem with the wire log skipping zero byte values if read one byte at a time. Contributed by Kirill Safonov Modified: httpcomponents/httpclient/trunk/RELEASE_NOTES.txt httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/LoggingSessionInputBuffer.java Modified: httpcomponents/httpclient/trunk/RELEASE_NOTES.txt URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt?rev=757528&r1=757527&r2=757528&view=diff ============================================================================== --- httpcomponents/httpclient/trunk/RELEASE_NOTES.txt (original) +++ httpcomponents/httpclient/trunk/RELEASE_NOTES.txt Mon Mar 23 20:14:05 2009 @@ -1,6 +1,10 @@ Changes since 4.0 beta 2 ------------------- +* [HTTPCLIENT-837] Fixed problem with the wire log skipping zero byte values + if read one byte at a time. + Contributed by Kirill Safonov + * [HTTPCLIENT-823] 'http.conn-manager.max-total' parameter can be adjusted dynamically. However, the size of existing connection pools per route, once allocated, will not be adjusted. Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/LoggingSessionInputBuffer.java URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/LoggingSessionInputBuffer.java?rev=757528&r1=757527&r2=757528&view=diff ============================================================================== --- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/LoggingSessionInputBuffer.java (original) +++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/impl/conn/LoggingSessionInputBuffer.java Mon Mar 23 20:14:05 2009 @@ -78,7 +78,7 @@ public int read() throws IOException { int l = this.in.read(); - if (this.wire.enabled() && l > 0) { + if (this.wire.enabled() && l != -1) { this.wire.input(l); } return l;