[PATCH] Using TCP_NODELAY unconditionally

Nicolas Williams Nicolas.Williams at ubsw.com
Mon Jan 21 16:41:37 EST 2002


On Sun, Jan 20, 2002 at 10:02:46PM +0100, Tobias Ringstrom wrote:
> On Sun, 20 Jan 2002 mouring at etoh.eviladmin.org wrote:
> 
> > I think it would be better to see if we can avoid reinventing the wheel
> > and offer a NoDelay No/Yes option on the client side.  Unsure about the
> > correct thing to do on the server side.
> 
> Is there no way to pass options from the client to the server?
> 
> If not, a work-around for the sftp case could be to enable TCP_NODELAY 
> when starting a subsystem.

At the very least. And X11 forwarding. What about that? Normally X11 TCP
connections are run with TCP_NODELAY...

Since the protocol allows a variety of kinds of traffic to be exchanged
over a TCP connection, some which should be used with Nagle, and some
which shouldn't, the protocol should really be capable of implementing
Nagle on a per-channel basis and always run with TCP_NODELAY, but that's
a lot easier said than done.

> /Tobias


Cheers,

Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list