turning off TCP_NOPUSH
Igor Sysoev
is at rambler-co.ru
Wed May 28 11:22:17 PDT 2003
On Wed, 28 May 2003, Garrett Wollman wrote:
> <<On Wed, 28 May 2003 17:05:59 +0400 (MSD), Igor Sysoev <is at 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/
More information about the freebsd-net
mailing list