Date: Tue, 27 May 2003 09:10:46 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Igor Sysoev <is@rambler-co.ru> Cc: arch@freebsd.org Subject: Re: sendfile(2) SF_NOPUSH flag proposal Message-ID: <3ED38E06.3FC82F09@mindspring.com> References: <Pine.BSF.4.21.0305271533060.46491-100000@is>
next in thread | previous in thread | raw e-mail | index | archive | help
Igor Sysoev wrote: > When there's the simple way to avoid the partially filled packets > I do not see any reason not to use it. So set a flag when you would have called tcp_output() in between the headers and file data, or the file data and the trailers, and, if you have to early return, and the flag is set, call it before your early return. Problem solved. -- Terry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ED38E06.3FC82F09>