[PATCH] Added NoDelay config option and nodelay subsystem option

Tobias Ringstrom tori at ringstrom.mine.nu
Tue Jan 29 07:12:53 EST 2002


On Sun, 27 Jan 2002, Kevin Steves wrote:

> On Sat, 26 Jan 2002, Tobias Ringstrom wrote:
> :So, what do you all think?  The patch is for openssh-3.0.2p1.
> 
> what is the overall methodology you have for openssh and nagle?

Dream:  I'd like to use Nagle for regular ssh pty/shell/exec connections
with no forwarding, and I'd like to be able to have a per channel nodelay
(nonagle) flag.  If one or more channels requests nodelay, then
TCP_NODELAY shall be set for the ssh tcp connection.  It would be great if 
the protocol could accomodate such a flag, but I have no idea.

Currently we do the opposite:  We use TCP_NODELAY for regular
pty/shell/exec connections.  The disable-nagle-unditionally patch was
rejected.  Some people express wishes for other solutions, but I cannot 
see anything happening, at least not in public.

I cannot see how using (or not using) nagle for the forwarded connections
would be important, since they are probably LAN connections (where Nagle
does not help much).

My overlapping reads/writes for sftp seems to be ignored at the moment.

I'm not happy.

/Tobias




More information about the openssh-unix-dev mailing list