DWR

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 2.0, 2.0.1, 2.0.2, 2.0.3
  • Fix Version/s: 2.0.4, 3.0.M1
  • Component/s: core
  • Description:
    org.directwebremoting.servlet.FileHandler.handle opens an input stream, but does not close it.

Activity

Hide
Mike Wilson added a comment - 11/Apr/08 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
Show
Mike Wilson added a comment - 11/Apr/08 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
Hide
Joe Walker added a comment - 17/Apr/08 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.
Show
Joe Walker added a comment - 17/Apr/08 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.
Hide
Mike Wilson added a comment - 25/Apr/08 12:10 PM
A colleague just verified in test that it is fixed now.
Show
Mike Wilson added a comment - 25/Apr/08 12:10 PM A colleague just verified in test that it is fixed now.

People

Dates

  • Created:
    26/Apr/07 9:56 PM
    Updated:
    25/Apr/08 12:10 PM
    Resolved:
    25/Apr/08 12:10 PM