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

DumpRequestHandler doesn't close Stream

    XMLWordPrintableJSON

Details

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

    Description

      stream.add( "stream", IOUtils.toString( content.getStream() ) );
      

      IOUtils.toString won't close the stream for you.

      Attachments

        1. SOLR-1747.patch
          1.0 kB
          Mark Miller

        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: