fix: structure decode first do strict match

This commit is contained in:
wwqgtxx
2022-11-28 19:11:55 +08:00
parent 01e382285d
commit dd6f7e3701
4 changed files with 20 additions and 20 deletions

View File

@ -15,6 +15,11 @@ import (
"github.com/Dreamacro/clash/transport/tuic/congestion"
)
const (
DefaultStreamReceiveWindow = 15728640 // 15 MB/s
DefaultConnectionReceiveWindow = 67108864 // 64 MB/s
)
func SetCongestionController(quicConn quic.Connection, cc string) {
switch cc {
case "cubic":