Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1746

CommonsHttpSolrServer passes a ContentStream reader to IOUtils.copy, but doesnt close it.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.4.1, 1.5, 3.1, 4.0-ALPHA
    • None
    • None

    Description

      IOUtils.copy will not close your reader for you:

                          @Override
                          protected void sendData(OutputStream out)
                              throws IOException {
                            IOUtils.copy(c.getReader(), out);
                          }
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            markrmiller@gmail.com Mark Miller
            markrmiller@gmail.com Mark Miller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment