修订代码,示例;修复quic无法多路复用的bug

This commit is contained in:
hahahrfool
2022-04-03 20:41:21 +08:00
parent 5023bef4a4
commit d3cffbd76a
4 changed files with 34 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ host = "127.0.0.1"
port = 4434
version = 0
insecure = true
utls = true
#utls = true #quic无法使用utls, 没办法
advancedLayer = "quic"
#alpn = ["asdfsadf"] # 如果alpn没指定则会自动使用 "h3"作为alpnquic包的限制导致必须指定一个alpn

View File

@@ -41,6 +41,7 @@ host = "127.0.0.1" # 同listen对应配置, 可填ip或域名如果 netwo
# 除了host之外也可使用 ip = "127.0.0.1"; 一般用了host就不需要再写ip,
# 但是如果用了cdn 的话, 就要单独提供 ip 和 host
# 单独提供 ip 的好处就是不用解析域名了
# 另外如果你的vps是ipv6机则 ipv6 两端要加中括号 , 变成类似 "[2408:0000]"" 这种
# tls = true