Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 48144 invoked from network); 28 May 2010 03:07:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 May 2010 03:07:00 -0000 Received: (qmail 91980 invoked by uid 500); 28 May 2010 03:06:58 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 91568 invoked by uid 500); 28 May 2010 03:06:57 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 91559 invoked by uid 99); 28 May 2010 03:06:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 May 2010 03:06:57 +0000 X-ASF-Spam-Status: No, hits=-1474.7 required=10.0 tests=ALL_TRUSTED,AWL 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; Fri, 28 May 2010 03:06:57 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4S36aYX003506 for ; Fri, 28 May 2010 03:06:36 GMT Message-ID: <1400922.41631275015996956.JavaMail.jira@thor> Date: Thu, 27 May 2010 23:06:36 -0400 (EDT) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1746) CommonsHttpSolrServer passes a ContentStream reader to IOUtils.copy, but doesnt close it. 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/SOLR-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-1746: --------------------------- Fix Version/s: 3.1 4.0 Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E > CommonsHttpSolrServer passes a ContentStream reader to IOUtils.copy, but doesnt close it. > ----------------------------------------------------------------------------------------- > > Key: SOLR-1746 > URL: https://issues.apache.org/jira/browse/SOLR-1746 > Project: Solr > Issue Type: Bug > Affects Versions: 1.4 > Reporter: Mark Miller > Assignee: Mark Miller > Fix For: 1.5, 3.1, 4.0 > > > IOUtils.copy will not close your reader for you: > {code} > @Override > protected void sendData(OutputStream out) > throws IOException { > IOUtils.copy(c.getReader(), out); > } > {code} -- 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@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org