Solr
  1. Solr
  2. SOLR-1747

DumpRequestHandler doesn't close Stream

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4.1, 1.5, 3.1, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

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

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

      1. SOLR-1747.patch
        1.0 kB
        Mark Miller

        Activity

        Hide
        Hoss Man added a comment -

        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

        Show
        Hoss Man added a comment - 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
        Hide
        Koji Sekiguchi added a comment -

        Committed revision 949651.

        backported to 1.4 branch for 1.4.1

        Show
        Koji Sekiguchi added a comment - Committed revision 949651. backported to 1.4 branch for 1.4.1

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development