From: Willy Tarreau <w@1wt.eu>
To: ??? <jaymaacton@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: Question about TCP delayed-ack and PUSH flag behavior
Date: Fri, 14 Feb 2025 18:12:19 +0100 [thread overview]
Message-ID: <20250214171219.GA8209@1wt.eu> (raw)
In-Reply-To: <CAPpvP8+0KftCR7WOFTf2DEOc1q_hszCHHb6pE2R-bhXMOub6Rw@mail.gmail.com>
On Fri, Feb 14, 2025 at 12:03:17PM -0500, ??? wrote:
> Hi netdev,
>
> When tcp stack receives a segment with PUSH flag set, does the stack
> immediately send out for the corresponding ACK with ignoring delay-ack
> timer?
> Or regardless of the PUSH flag, delay-ack is always enforced?
It depends, it's possible for the application to force a delayed ack
by setting TCP_QUICKACK to zero. This is convenient for web servers
that know they respond quickly and can merge this ack with the
response to save one packet.
Willy
next prev parent reply other threads:[~2025-02-14 17:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 17:03 Question about TCP delayed-ack and PUSH flag behavior 제임스
2025-02-14 17:12 ` Willy Tarreau [this message]
2025-02-14 17:58 ` 제임스
2025-02-15 0:16 ` Jason Xing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250214171219.GA8209@1wt.eu \
--to=w@1wt.eu \
--cc=jaymaacton@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).