feat: make quic-go happy about buffer stuff

This commit is contained in:
Toby
2021-12-27 16:42:10 -08:00
parent 1484c3585b
commit 4cb4ca5e96
4 changed files with 34 additions and 13 deletions

View File

@@ -63,7 +63,7 @@ func NewServer(addr string, protocol string, tlsConfig *tls.Config, quicConfig *
return nil, err
}
if obfuscator != nil {
pktConn = newObfsPacketConn(ftcpConn, obfuscator)
pktConn = newObfsFakeTCPConn(ftcpConn, obfuscator)
} else {
pktConn = ftcpConn
}