Re: [JSch-users] Closing down ChannelAgentForwarding objects
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2012-01-27 17:03:12
|
Hi, +-From: "Leis, Benjamin" <be...@am...> -- |_Date: Thu, 26 Jan 2012 14:59:23 -0800 ________ | |I have some code that maintains some Session objects open to some servers |over a long period of time and continually opens exec Channels to those |session with agent forwarding enabled. Watching the process over time |I'm seeing the ChannelAgentForwarding objects accumulate and apparently |the Packets as well associated with them. I assume that if the session |was disconnected that would force these to get cleaned up. Is there any |other way to get rid of them? The original channel that triggered the |creation of the agentforwarding channel is long since disconnected. I have reproduced that problem. I hope the following version has fixed it, http://www.jcraft.com/jsch/jsch-0.1.46-rc3.zip Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk |