Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 79911 invoked from network); 4 Feb 2010 16:28:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 16:28:50 -0000 Received: (qmail 21483 invoked by uid 500); 4 Feb 2010 16:28:49 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 21424 invoked by uid 500); 4 Feb 2010 16:28:49 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 21414 invoked by uid 99); 4 Feb 2010 16:28:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 16:28: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; Thu, 04 Feb 2010 16:28:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 707BA29A0032 for ; Thu, 4 Feb 2010 08:28:28 -0800 (PST) Message-ID: <680411626.40371265300908458.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Feb 2010 16:28:28 +0000 (UTC) From: "Mark Miller (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-1746) CommonsHttpSolrServer passes a ContentStream reader to IOUtils.copy, but doesnt close it. In-Reply-To: <198062370.26321265118379695.JavaMail.jira@brutus.apache.org> 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 ] Mark Miller resolved SOLR-1746. ------------------------------- Resolution: Fixed Assignee: Mark Miller > 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 > > > 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.