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

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

    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

            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: