Subject: Re: TCP_NODELAY in telnet (Re: CVS commit: src)
To: NetBSD tech-net mailing list <tech-net@netbsd.org>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 06/16/2003 09:05:25
Julian Coleman <jdc@coris.org.uk> writes:
> >    Is that correct? I'd say it isn't -- if anything was built for Nagle's
> >    Algorithm it is rsh or telnet. Who reviewed this change?
> > 
> > rlogin or telnet you mean?  rshd itself could benefit from this change
> > i guess....
> 
> Maybe adding TCP_NODELAY to telnet will fix:
> 
>   http://mail-index.netbsd.org/netbsd-users/2003/06/12/0001.html

Except it shouldn't. I think Nagle's algorithm only delays things if
there is unack'ed data outstanding. IF there is no unacked data
I believe Nagle's algorithm sends immediately.

If TCP_NODELAYs actually fixes this and other things maybe we have a
bug that we're just masking.

Perry