Bump quic-go to v0.22.0 & remove SetDontFragment (as it's implemented in quic-go already)

This commit is contained in:
Toby
2021-07-28 21:18:43 -07:00
parent d6aba2e1d0
commit c32ac17f62
7 changed files with 44 additions and 79 deletions

View File

@@ -70,10 +70,6 @@ func (c *Client) connectToServer() error {
if err != nil {
return err
}
if err := utils.SetDontFragment(udpConn); err != nil {
_ = udpConn.Close()
return err
}
var qs quic.Session
if c.obfuscator != nil {
// Wrap PacketConn with obfuscator