Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Mon, 14 Apr 2003 19:14:10 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygwin + sshd = nagle?
Message-ID: <20030414171410.GR11137@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <2b85635ccc2cbd8c003cb6d0b7a2d694@snellwilcox.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2b85635ccc2cbd8c003cb6d0b7a2d694@snellwilcox.com>
User-Agent: Mutt/1.4.1i

On Mon, Apr 14, 2003 at 03:56:24PM +0100, steve.simon@snellwilcox.com wrote:
> Hi,
> 
> I am trying to start an rpc slave on an NT box using the sshd demon.
> as I am running an RPC protocol I don't want nagle active.
> 
> If I run sshd with three -d options to get very chatty debug I see it try to turn
> off nagle (even though strictly I have asked for a non-interactive session and from
> my reading of the code it should enable nagle !)

I'm confused.  Your first sentence implies you don't want nagle but
you're now complaining that nagle gets deactivated?!?

Anyway, it depends.  ssh never explicitly enables nagle but it disables
it under several conditions.  AFAICS (I'm not an expert of these internals)
ssh disables nagle not only for interactive sessions but also on all
secondary channels (X11 forwarding, port forwarding, etc.).  So even if
you're running in an non-interactive session, any other socket not used
for the very control channel has nagle disabled.  However, this is not a
Cygwin issue.  I suggest discussing this on the official ssh mailing
list(s).

> Anyone with a deep understanding of cygwin conform or deny this?

This isn't a Cygwin issue AFAICS.

Corinna

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

