]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: add "no-alpn" support for bind lines
authorWilly Tarreau <w@1wt.eu>
Wed, 19 Apr 2023 06:28:40 +0000 (08:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Apr 2023 06:38:06 +0000 (08:38 +0200)
commit158c18e85a1e12c334b88144de2759a330916491
treeaf6b734a129517172bc794360ad4ddcde19574d3
parentd0c57d3d337c44003c5c1ae49ca6ee472695b5fb
MINOR: config: add "no-alpn" support for bind lines

It's possible to replace a previously set ALPN but not to disable ALPN
if it was previously set. The new "no-alpn" setting allows to disable
a previously set ALPN setting by preparing an empty one that will be
replaced and freed when the config is validated.
src/cfgparse-ssl.c
src/cfgparse.c