On Fri, Dec 28, 2001 at 07:27:36PM +0100, Tomas Svensson wrote: > This just verifies what I said weeks ago. > > On the client side: > > ## several packets are lost here due to congestion, thanks to > TCP_NODELAY:
No. These packets aren't lost to congestion. I can reproduce this
pattern every time. There's no random packet loseness about it.
You are right that switching TCP_NODELAY off does fix it, but it's not
caused by congestion I can assure you.
Joe
Index: packet.c
===================================================================
RCS file: /home/ncvs/src/crypto/openssh/packet.c,v
retrieving revision 1.1.1.1.2.4
diff -u -r1.1.1.1.2.4 packet.c
--- packet.c 28 Sep 2001 01:33:34 -0000 1.1.1.1.2.4
+++ packet.c 29 Dec 2001 17:33:40 -0000
@@ -1281,9 +1281,11 @@
error("setsockopt IPTOS_LOWDELAY: %.100s",
strerror(errno));
}
+#if NEVER
if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *) &on,
sizeof(on)) < 0)
error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
+#endif
} else if (packet_connection_is_ipv4()) {
/*
* Set IP options for a non-interactive connection. Use
msg30540/pgp00000.pgp
Description: PGP signature

