chore: upgrade dependencies for hysteria

This commit is contained in:
Skyxim
2022-07-07 12:49:52 +08:00
parent 5b35822945
commit 60e1947ed2
5 changed files with 20 additions and 16 deletions

View File

@ -5,7 +5,6 @@ import (
"crypto/tls"
"fmt"
"github.com/Dreamacro/clash/component/resolver"
"github.com/Dreamacro/clash/log"
"github.com/Dreamacro/clash/transport/hysteria/conns/faketcp"
"github.com/Dreamacro/clash/transport/hysteria/conns/udp"
"github.com/Dreamacro/clash/transport/hysteria/conns/wechat"
@ -83,7 +82,6 @@ func (ct *ClientTransport) QUICDial(proto string, server string, tlsConfig *tls.
Port: int(port),
}
log.Infoln("use udp addr %s", serverUDPAddr.String())
pktConn, err := ct.quicPacketConn(proto, serverUDPAddr.String(), obfs, dialer)
if err != nil {
return nil, err