Re: [JSch-users] Bug: ChannelDirectTCPIP fails if remote side sends EOF quickly
Status: Alpha
Brought to you by:
ymnk
|
From: <ym...@jc...> - 2011-05-24 08:32:34
|
Hi, Sorry for my delay of reply, +-From: Paul Ebermann <Pau...@gm...> -- |_Date: Fri, 20 May 2011 03:24:27 +0200 _______ | |I tried to open a direct-tcpip channel to some TCP server which replies |with a message and immediately closes the connection. (See [0] for background.) ... |As we can see, the remote host sends an SSH_MSG_CHANNEL_EOF before our channel's |connect() method had the chance to even see that the connection is open, and thus |it throws an exception instead of simply returning. You are right. It must be a bug. Could you try the following? http://www.jcraft.com/jsch/jsch-0.1.45-rc3.zip 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 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk |