File descriptor leak in ShowFileRequestHandler.getFileContents()
----------------------------------------------------------------

                 Key: SOLR-2912
                 URL: https://issues.apache.org/jira/browse/SOLR-2912
             Project: Solr
          Issue Type: Bug
          Components: web gui
    Affects Versions: 3.2
            Reporter: Michael Ryan
            Priority: Minor


There is a file descriptor leak in ShowFileRequestHandler.getFileContents() - 
the InputStream is not closed. This could cause a "Too many open files" error 
if the admin page is loaded a lot.

I've only tested this on 3.2, but I think it affects all recent versions, 
including trunk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to