]> andersk Git - openssh.git/commitdiff
- dtucker@cvs.openbsd.org 2006/03/13 08:33:00
authordjm <djm>
Wed, 15 Mar 2006 01:05:22 +0000 (01:05 +0000)
committerdjm <djm>
Wed, 15 Mar 2006 01:05:22 +0000 (01:05 +0000)
     [packet.c]
     Set TCP_NODELAY for all connections not just "interactive" ones.  Fixes
     poor performance and protocol stalls under some network conditions (mindrot
     bugs #556 and #981). Patch originally from markus@, ok djm@

ChangeLog
packet.c

index 66c11c729693ef760ad363313c790e29c6fb9c8d..3bf299a50faabfa58cf309745c242ed8b7263bf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
      [sshd.c]
      don't log that we are listening on a socket before the listen() call
      actually succeeds, bz #1162 reported by Senthil Kumar; ok dtucker@
+   - dtucker@cvs.openbsd.org 2006/03/13 08:33:00
+     [packet.c]
+     Set TCP_NODELAY for all connections not just "interactive" ones.  Fixes
+     poor performance and protocol stalls under some network conditions (mindrot
+     bugs #556 and #981). Patch originally from markus@, ok djm@
 
 20060313
  - (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
index 24d2bb312be1baf90f49c7e2712b7c19ed1c0e53..ca6861e5520c5db5cc93cfeaaec1285bca65cce6 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -37,7 +37,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: packet.c,v 1.121 2006/02/08 14:38:18 stevesk Exp $");
+RCSID("$OpenBSD: packet.c,v 1.122 2006/03/13 08:33:00 dtucker Exp $");
  
 #include "openbsd-compat/sys-queue.h"
 #include <netinet/in_systm.h>
@@ -1482,8 +1482,7 @@ packet_set_interactive(int interactive)
        /* Only set socket options if using a socket.  */
        if (!packet_connection_is_on_socket())
                return;
-       if (interactive)
-               set_nodelay(connection_in);
+       set_nodelay(connection_in);
        packet_set_tos(interactive);
 }
 
This page took 0.343811 seconds and 5 git commands to generate.