Return-Path: Delivered-To: apmail-incubator-chemistry-dev-archive@minotaur.apache.org Received: (qmail 93211 invoked from network); 3 Feb 2010 12:21:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 12:21:50 -0000 Received: (qmail 2630 invoked by uid 500); 3 Feb 2010 12:21:50 -0000 Delivered-To: apmail-incubator-chemistry-dev-archive@incubator.apache.org Received: (qmail 2554 invoked by uid 500); 3 Feb 2010 12:21:49 -0000 Mailing-List: contact chemistry-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chemistry-dev@incubator.apache.org Delivered-To: mailing list chemistry-dev@incubator.apache.org Received: (qmail 2544 invoked by uid 99); 3 Feb 2010 12:21:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 12:21:49 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 12:21:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 070D8234C1F0 for ; Wed, 3 Feb 2010 04:21:29 -0800 (PST) Message-ID: <1062697901.1721265199689027.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 12:21:29 +0000 (UTC) From: "Stefane Fermigier (JIRA)" To: chemistry-dev@incubator.apache.org Subject: [jira] Commented: (CMIS-111) Content streams not correctly served In-Reply-To: <1856698610.201265194168883.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-111?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D128290= 46#action_12829046 ]=20 Stefane Fermigier commented on CMIS-111: ---------------------------------------- I can not reproduce (uploading then downloading binary files using cmissh a= gainst the test server). > Content streams not correctly served > ------------------------------------ > > Key: CMIS-111 > URL: https://issues.apache.org/jira/browse/CMIS-111 > Project: Chemistry > Issue Type: Bug > Components: server > Reporter: Hinse ter Schuur > Attachments: media-binary.txt > > > When downloading (binary) content from the server the contents are not co= rrect. This seems to be because a SizedMediaResponseContext is treated as = non-binary, resulting in written out to the request context=C2=B4 s writer = instead of outputstream. > A simple reproduction case is: run the org.apache.chemistry.test.MainServ= let from the chemistry-test module upload a zip file and try to download it= again. The resulting download does not have the same size as the original = and the archive is corrupted. > A simple fix will be to make the SizedMediaResponseContext binary. I'll a= ttach a patch file for this. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.