Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 67180 invoked from network); 17 Nov 2010 12:19:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Nov 2010 12:19:07 -0000 Received: (qmail 20854 invoked by uid 500); 17 Nov 2010 12:19:38 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 20658 invoked by uid 500); 17 Nov 2010 12:19:36 -0000 Mailing-List: contact dev-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 dev@hc.apache.org Received: (qmail 20650 invoked by uid 99); 17 Nov 2010 12:19:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 12:19:35 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 12:19:34 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAHCJE5R029716 for ; Wed, 17 Nov 2010 12:19:14 GMT Message-ID: <27652389.147551289996354165.JavaMail.jira@thor> Date: Wed, 17 Nov 2010 07:19:14 -0500 (EST) From: "Sebb (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCORE-175) ChunkedInputStream Accepts Corrupted Chunked Input MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCORE-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932922#action_12932922 ] Sebb commented on HTTPCORE-175: ------------------------------- If you still want to stick with version 3.1, then the source is available. As a short-term work-round it might suit you to create your own private version with the fix. But I agree with Oleg - the solution is to upgrade. > ChunkedInputStream Accepts Corrupted Chunked Input > --------------------------------------------------- > > Key: HTTPCORE-175 > URL: https://issues.apache.org/jira/browse/HTTPCORE-175 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore > Affects Versions: 4.0-beta3 > Environment: httpClient 3.1 > Reporter: Mick Timony > Fix For: 4.0 > > Attachments: hc3x-truncated-chunks.patch, httpcore-truncated-chunk.patch > > > In one of our production environments we are seeing a random issue where incomplete content is being received on a server which we have narrowed down to httpClient's ChunkedInputStream. > If a corrupted and incomplete chunk is sent to httpClient it will be accepted as the final chunk in the stream under the condition that the reported chunk's size is greater than the actual size of the chunk. > I will provide and example and associated unit test in comments below. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org