<div dir="ltr">Hello,<div><br></div><div>Not sure If this is a bug in nginx-quic or if I'm not configuring it correctly but when trying to use nginx-quic with the following settings. </div><div><br></div><div>stream {<br>    server {<br>        listen 5555 quic reuseport;<br>        ssl_session_cache off;<br>        ssl_client_certificate ca.pem<br>        ssl_verify_client on;<br>        ssl_session_tickets off;<br>        ssl_certificate         cert.pem<br>        ssl_certificate_key    key.pem;<br>        ssl_protocols       TLSv1.3;<br>    }<br>}<br></div><div><br></div><div>and using a standalone application that uses ngtcp2 to try to connect to nginx-quic, I get a TLS alert saying that "No application protocol". </div><div>I've tracked this down and it seems like nginx-quic is not setting any ALPN for the SSL context when using QUIC as a stream (in ngx_stream_ssl_module.c).</div><div>It does it set it when using QUIC as HTTP (in ngx_http_ssl_module.c). Now, I believe ALPN is mandatory for QUIC according to the QUIC-TRANSPORT draft, so this might be a bug.</div><div>By copying the code done in ngx_http_ssl_module.c for setting the ALPN and using it in ngx_stream_ssl_module.c, I was able to make my standalone app connect and transfer data, but not sure</div><div>if this is the right fix.</div><div><br></div><div>R,</div><div>Lucas.</div></div>