]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcpchecks: fix the connect() flags regarding delayed ack
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Jan 2020 16:52:37 +0000 (17:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Jan 2020 16:52:37 +0000 (17:52 +0100)
commit74ab7d2b80cf3930e2b3957c9234953a632c5226
treeb08755ab4fa7fb673a8452671eea57925186621d
parentd78cf0fe0f4ef8e3daaaf830ba58c78bb5f4a344
BUG/MINOR: tcpchecks: fix the connect() flags regarding delayed ack

In issue #465, we see that Coverity detected dead code in checks.c
which is in fact a missing parenthesis to build the connect() flags
consecutive to the API change in commit fdcb007ad8 ("MEDIUM: proto:
Change the prototype of the connect() method.").

The impact should be imperceptible as in the best case it may have
resulted in a missed optimization trying to save a syscall or to merge
outgoing packets.

It may be backported as far as 2.0 though it's not critical.
src/checks.c