]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: backend: simplify the complex ifdef related to 0RTT in connect_server()
authorWilly Tarreau <w@1wt.eu>
Thu, 7 Aug 2025 15:06:45 +0000 (17:06 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 9 Sep 2025 17:01:24 +0000 (19:01 +0200)
commit9b9d0720e10a4407a0ceb3116f47493bc4d03381
tree6413f211674485f2b9f1bd314c4db39ef72c35b2
parent4aaf0bfbced22d706af08725f977dcce9845d340
CLEANUP: backend: simplify the complex ifdef related to 0RTT in connect_server()

Since 3.0 we have HAVE_SSL_0RTT precisely to avoid checking horribly
complicated and unmaintainable conditions to detect support for 0RTT.
Let's just drop the complex condition and use the macro instead.
src/backend.c