refactor(quic): remove quinn encryption (#1831)

* use quinn-plaintext
* remove server_cert in QUICTunnelListener
* remove some customized transport config
* leave max_concurrent_bidi_streams as default

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Luna Yao
2026-01-30 03:21:59 +01:00
committed by GitHub
parent ffe5644ddc
commit cdedaf3f63
4 changed files with 62 additions and 46 deletions
+3 -1
View File
@@ -65,6 +65,7 @@ bytes = "1.5.0"
pin-project-lite = "0.2.13"
quinn = { version = "0.11.8", optional = true, features = ["ring"] }
quinn-plaintext = { version = "0.3.0", optional = true}
rustls = { version = "0.23.0", features = [
"ring",
@@ -328,10 +329,11 @@ full = [
"smoltcp",
"tun",
"socks5",
"quic",
"magic-dns",
]
wireguard = ["dep:boringtun", "dep:ring"]
quic = ["dep:quinn", "dep:rustls", "dep:rcgen"]
quic = ["dep:quinn", "dep:quinn-plaintext", "dep:rustls", "dep:rcgen"]
kcp = ["dep:kcp-sys"]
mimalloc = ["dep:mimalloc"]
aes-gcm = ["dep:aes-gcm"]