From owner-freebsd-net@FreeBSD.ORG Wed May 28 11:22:17 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C29B37B401 for ; Wed, 28 May 2003 11:22:17 -0700 (PDT) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 156B843F85 for ; Wed, 28 May 2003 11:22:16 -0700 (PDT) (envelope-from is@rambler-co.ru) Received: from is.park.rambler.ru (is.park.rambler.ru [81.19.64.102]) by park.rambler.ru (8.12.6/8.12.6) with ESMTP id h4SIMEmF049560; Wed, 28 May 2003 22:22:14 +0400 (MSD) Date: Wed, 28 May 2003 22:22:14 +0400 (MSD) From: Igor Sysoev X-Sender: is@is To: Garrett Wollman In-Reply-To: <200305281607.h4SG7SwR049542@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org Subject: Re: turning off TCP_NOPUSH X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 18:22:17 -0000 On Wed, 28 May 2003, Garrett Wollman wrote: > < 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/