Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 22 Mar 2005 19:47:58 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ssh-add -l hanging with 20050316 snapshot Message-ID: <20050322184758.GA23716@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200503171842 DOT j2HIg01J010269 AT mail DOT daveroth DOT dyndns DOT org> <200503182308 DOT j2IN87gi010438 AT mx3 DOT redhat DOT com> <20050320103350 DOT GA25116 AT cygbert DOT vinschen DOT de> <423DB559 DOT 5010404 AT acm DOT org> <20050322084315 DOT GB7626 AT cygbert DOT vinschen DOT de> <42406293 DOT 2030107 AT acm DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42406293.2030107@acm.org> User-Agent: Mutt/1.4.2i 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 AT cygwin DOT 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/