]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: proxy: enable abortonclose by default on TLS listeners
authorWilly Tarreau <w@1wt.eu>
Wed, 8 Oct 2025 08:32:33 +0000 (10:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Oct 2025 08:36:59 +0000 (10:36 +0200)
commit00b27a993fef425e523c1f92a8cb3193aaaa2ab2
tree0cfa942b82aa56b55031a407f1a225a665dff0ab
parent75103e7701a24f37fcd1dfe19450fa3ab8ce4964
MAJOR: proxy: enable abortonclose by default on TLS listeners

In the continuity of https://github.com/orgs/haproxy/discussions/3146,
we must also enable abortonclose by default for TLS listeners so as not
to needlessly compute TLS handshakes on dead connections. The change is
very small (just set the default value to 1 in the TLS code when neither
the option nor its opposite were set).

It may possibly cause some TLS handshakes to start failing with 3.3 in
certain legacy environments (e.g. TLS health-checks performed using only
a client hello and closing afterwards), and in this case it is sufficient
to disable the option using "no option abortonclose" in either the
affected frontend or the "defaults" section it derives from.
doc/configuration.txt
src/ssl_sock.c