Date: Wed, 28 May 2003 22:22:14 +0400 (MSD) From: Igor Sysoev <is@rambler-co.ru> To: Garrett Wollman <wollman@lcs.mit.edu> Cc: freebsd-net@freebsd.org Subject: Re: turning off TCP_NOPUSH Message-ID: <Pine.BSF.4.21.0305282221390.51226-100000@is> In-Reply-To: <200305281607.h4SG7SwR049542@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 May 2003, Garrett Wollman wrote: > <<On Wed, 28 May 2003 17:05:59 +0400 (MSD), Igor Sysoev <is@rambler-co.ru> said: > > > always calls tcp_output() when TCP_NOPUSH is turned off. I think > > tcp_output() should be called only if data in the send buffer is less > > than MSS: > > I believe that this is intentional. The application had to explicitly > enable TCP_NOPUSH, so if the application disables it explicitly, then > we interpret that as meaning that the application wants to send a PSH > segment immediately. As I understand if the data in the send buffer is bigger than MSS it means that TCP stack has some reason not to send it and this reason is not TF_NOPUSH flag. Am I wrong ? Igor Sysoev http://sysoev.ru/en/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0305282221390.51226-100000>