Date: Wed, 21 Apr 1999 23:46:00 -0600 From: Alex Rousskov <rousskov@ircache.net> To: David Greenman <dg@root.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: _Some_ acks delayed for 200 msec? Message-ID: <Pine.SGI.4.10.9904212338510.6184-100000@Meta-Bug> In-Reply-To: <199904220524.WAA16883@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Apr 1999, David Greenman wrote:
> I'm not familiar with what your application is doing over the wire, so I
> can only speculate. It sounds to me as though TCP_NODELAY wasn't actually
> set properly on the socket. Keep in mind that this option is not inherited
> in the accept()'ed file descriptor and thus the option must be set on that
> descriptor and not on the listen() socket.
Oof! I've trusted the accept(2) man page that says:
The accept() argument extracts the first connection request
on the queue of pending connections, creates a new socket with the
same properties of s and allocates a new file descriptor for the
socket.
Apparently, "same properties" does not include TCP_NODELAY!
I will test with [correctly] disabled Nagle on the server side and let you
know the result.
Thanks,
Alex.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.10.9904212338510.6184-100000>
