Re: [JSch-users] Reverse forward to unavailable service hangs connecting client
Status: Alpha
Brought to you by:
ymnk
From: <ym...@jc...> - 2007-01-18 02:33:57
|
Hi, +-From: "B. Scott Smith" <sc...@sm...> -- |_Date: Wed, 17 Jan 2007 21:10:35 -0500 ___________ | |OK, I removed my prior patch, and added a call to close( ) in the |exception handler of ChannelForwardedTCPIP.init( ) as follows: | catch(Exception e){ | System.out.println(e); | close( ); | } |This also fixed my issue. Is this a better patch? Channel#disconnect() should be invoked, so I'll adopt your first fix. ChannelX11.java has also a similar problem and it is bad news for our customers. We'll release the next version soon formally. http://www.jcraft.com/jsch/jsch-0.1.32-rc1.zip Again, thank you for your feedback. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Fax +81-22-224-8773 Skype callto://jcraft/ |