ssh-add -l hanging with 20050316 snapshot

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 23 11:11:00 GMT 2005


On Mar 22 10:23, David Rothenberger wrote:
> On 3/22/2005 12:43 AM, Corinna Vinschen wrote:
> >What about the 2005-03-21 snapshot?
> 
> Yes, that fixes the problem. The only unusual behavior I see is when I 
> start 4 windows running "ssh-add -l" in a loop and then Ctrl-C one of 
> them. Occasionally, the "ssh-add -l" executions in the other windows 
> take a long time to complete (~15-30 seconds). They do eventually get 
> started again, though. If I manually execute "ssh-add -l" in another 
> window, they all start right back up immediately.
> 
> But, no "ssh-add -l" calls are hanging, so this problem is solved. Thanks!

Thanks, that's good to read.  The short hangs of about 15 seconds are
actually to be expected.  There's a handshake going on and you killed
one of the shakers mid-way.  The handshake times out on the other side
of the connection and the connection is dropped.  I have another patch
in the loop which might allow to reduce the handshake timeout to a
lower value, but it's possibly not worth it.  Breaking the handshake
is a border situation which justifies a noticable timeout, IMHO.


Thanks again for testing,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list