delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/27/16:45:46

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: autossh broken with current openssh/cygwin
Date: Tue, 27 Jun 2006 16:13:43 -0400
Lines: 19
Message-ID: <ua43a2peohp3320a424doscf823kjsgnuc@4ax.com>
References: <449CAF28 DOT BB172C1A AT dessent DOT net> <20060626121755 DOT GF11077 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> > $ AUTOSSH_FIRST_POLL=5 AUTOSSH_POLL=5 AUTOSSH_DEBUG=yes autossh -M 30000
> > -N dessent.net
> > autossh: PID 3204: short poll time: adjusting net timeouts to 2500
> > autossh: PID 3204: checking for grace period, tries = 0
> > autossh: PID 3204: starting ssh (count 1)
> > autossh: PID 3204: ssh child pid is 4160
> > autossh: PID 4160: execing /usr/bin/ssh
> > autossh: PID 3204: check on child 4160
> > autossh: PID 3204: set alarm for 5 secs
> > autossh: PID 3204: timeout on io poll, looping to accept again
> 
> Confirmed.  This has been introduced by trying to get the WinSock event
> driven accept thread-safe.  This apparently doesn't work as expected.
> To get that really right, a lot more has to be done.  Since that's
> nothing I'd like to rip apart before 1.5.20, I reverted all event
> handling for accept and connect and returned to using select again, as
> it was implemented until 1.5.18.

Whew!  Saved my ass on that one...


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019