Hi,
If you call channel.getInputStream() whose responsibility it to close the 
returned InputStream. Looking through code, I could see that a new outputstream 
is built against the inputstream and that looks like it gets closed 
automatically when the channel is disconnected but is the underlying 
InputStream handled as well or will it leak resources if not explicitly closed?
Thanks
Ben

  __o       __o       __o       __o
_`\<,_    _`\<,_    _`\<,_    _`\<,_
(*)/ (*)  (*)/ (*)  (*)/ (*)  (*)/ (*)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to