]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: listener: automatically select a QUIC mux with a QUIC transport
authorWilly Tarreau <w@1wt.eu>
Fri, 20 May 2022 16:07:06 +0000 (18:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 May 2022 16:41:55 +0000 (18:41 +0200)
commit730cc02c26c41be164dae9d8d0722330be5fb101
tree8d2e9bf781e753d24bad750f51c2882ae5634f11
parentcac619b4d29a8ae5281fef619d47172a86ddd7c6
MINOR: listener: automatically select a QUIC mux with a QUIC transport

When no mux protocol is configured on a bind line with "proto", and the
transport layer is QUIC, right now mux_h1 is being used, leading to a
crash.

Now when the transport layer of the bind line is already known as being
QUIC, let's automatically try to configure the QUIC mux, so that users
do not have to enter "proto quic" all the time while it's the only
supported option. this means that the following line now works:

    bind quic4@:4449 ssl crt rsa+dh2048.pem alpn h3 allow-0rtt
src/cfgparse.c