On 5/6/24 06:02, Björn Jacke wrote:
frontend ft_443
   bind :::443 ssl crt /ssl/combined.pem
   bind quic6@:443 ssl crt /ssl/combined.pem alpn h3
   option tcp-smart-accept
   http-after-response add-header alt-svc 'h3=":443"; ma=600; persistent=1'

<snip>

frontend ft_quic_test
     mode tcp
     bind quic6@:443 ssl crt /ssl/combined.pem
     use_backend local_smb

this results in this config check error thoug:

[ALERT]    (3611777) : config : frontend 'ft_quic_test' : MUX protocol 'quic' is not usable for 'bind quic6@:443' at [/etc/haproxy/ haproxy.cfg:73].

So a setup like this is not supported by HAProxy's QUIC implementation currently, right? Is QUIC in HAProxy HTTP3 only for now?\

The alpn on the first config snippet only includes h3, not quic. Here are alpn and npn settings that allow some of the quic protocol variations as well as h3 itself:

alpn h3,h3-29,h3-28,h3-27 npn h3,h3-29,h3-28,h3-27

The second one is a tcp frontend ... I feel pretty sure that h3/quic requires http in the frontend, not tcp.

Thanks,
Shawn


Reply via email to