fix: doq过代理错误

This commit is contained in:
Skyxim 2022-05-17 21:30:54 +08:00
parent 8b00be9039
commit 16b27b3a1f

View file

@ -177,7 +177,7 @@ func (dc *quicClient) openSession() (quic.Connection, error) {
return nil, fmt.Errorf("quio create packet failed") return nil, fmt.Errorf("quio create packet failed")
} }
udp = wrapConn.PacketConn udp = wrapConn
} }
session, err := quic.Dial(udp, &udpAddr, host, tlsConfig, quicConfig) session, err := quic.Dial(udp, &udpAddr, host, tlsConfig, quicConfig)