Re: [JSch-users] session.connect(int timeout) not working?
Status: Alpha
Brought to you by:
ymnk
From: Mick M. <mcl...@gm...> - 2010-04-23 15:21:00
|
well actually no its not being invoked infinitely, however it is invoked approx 35-40 times. FYI, in the testcase, the pass is correct but the user is not... On Fri, Apr 23, 2010 at 11:15 AM, Mick McLaughlin <mcl...@gm... > wrote: > yes it is! Should I be doing something to keep this from happening? > thanks, > Mick > > > On Thu, Apr 22, 2010 at 9:48 PM, Atsuhiko Yamanaka <ym...@jc...>wrote: > >> Hi, >> >> +-From: Mick McLaughlin <mcl...@gm...> -- >> |_Date: Thu, 22 Apr 2010 16:58:04 -0400 ______________ >> | >> |I am attempting to implement a timeout using session.connect(30000). >> If a >> |user adds the wrong credentials, I want the connection to return an >> auth >> |fail JschException however, it seems to be ignoring this and finally >> returns >> |the exception after many minutes. >> >> How about the implementation of UserInfo? >> Is UserInfo#getPassword invoked infinitely? >> >> >> 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/ >> > > |