Files
x/dialer
ginuerzh 296d87a597 fix(quic): preserve user-configured ALPN instead of hardcoding NextProtos
The QUIC listener and the QUIC/ICMP dialers unconditionally set
tlsCfg.NextProtos = ["h3", "quic/v1"], discarding any user-specified
ALPN values from TLS options (via tls.options.alpn in config).

Clone the TLS config and only apply the default NextProtos when none are
already configured, matching the existing pattern in the MASQUE HTTP/3
dialer. This enables non-HTTP/3 QUIC use cases like SMB-over-QUIC which
requires ALPN "smb".

Fixes go-gost/gost#872
2026-06-20 14:58:19 +08:00
..
2022-11-29 09:45:51 +08:00
2022-04-07 23:03:31 +08:00
2025-08-05 20:24:00 +08:00
2024-10-10 22:49:56 +08:00
2024-10-10 22:49:56 +08:00
2023-10-15 23:55:52 +08:00
2025-11-11 12:37:33 +08:00
2023-09-18 23:14:55 +08:00
2024-07-08 22:38:21 +08:00