Possible resource leak in org.directwebremoting.servlet.FileHandler.handle

Description

org.directwebremoting.servlet.FileHandler.handle opens an input stream, but does not close it.

Activity

Show:
Mike Wilson
April 11, 2008, 7:24 PM

This needs to be fixed for the 2.0 branch as well. The streams 'in' and 'raw' need to be closed in FileHandler.handle.
Do you want me to fix it?
//Mike

Joe Walker
April 17, 2008, 5:55 PM

I had a look because I thought it was just a close not called in finally problem, but it was a close not called problem. I fixed it. I also found a similar problem in 3.

Mike Wilson
April 25, 2008, 12:10 PM

A colleague just verified in test that it is fixed now.

Assignee

Joe Walker

Reporter

Ilya Perminov

Labels

None

Documentation Required

None

Components

Fix versions

Affects versions

Priority

Trivial
Configure