jackgene / sftp-servlet-container

A servlet container that uses SFTP instead of HTTP as its access protocol.
1 stars 0 forks source link

Investigate if I/O streams need to be managed/closed #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The SFTP servlet container deals with a lot of input and output streams, 
passing them back and forth between server and client. There are many instances 
where we do not close resources, assuming that the server/client will close 
them when they are done.

Investigate if this assumption is valid.

Consider the "Create and hold exception when resource is attained, throw if 
resource isn't closed when finalized" technique.

Original issue reported on code.google.com by jackg...@gmail.com on 8 Jul 2012 at 4:25