Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]]

Ingo Molnar (mingo@elte.hu)
Thu, 18 Jan 2001 14:06:46 +0100 (CET)


On Wed, 17 Jan 2001, Rick Jones wrote:

> i'd heard interesting generalities but no specifics. for instance,
> when the send is small, does TCP wait exclusively for the app to
> flush, or is there an "if all else fails" sort of timer running?

yes there is a per-socket timer for this. According to RFC 1122 a TCP
stack 'MUST NOT' buffer app-sent TCP data indefinitely if the PSH bit
cannot be explicitly set by a SEND operation. Was this a trick question?
:-)

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/