Explorar o código

Fix: Trojan fallback (#1286)

秋のかえで %!s(int64=4) %!d(string=hai) anos
pai
achega
908408dd45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      proxy/trojan/server.go

+ 1 - 1
proxy/trojan/server.go

@@ -2,7 +2,6 @@ package trojan
 
 import (
 	"context"
-	"crypto/tls"
 	"io"
 	"strconv"
 	"time"
@@ -22,6 +21,7 @@ import (
 	"github.com/v2fly/v2ray-core/v4/features/policy"
 	"github.com/v2fly/v2ray-core/v4/features/routing"
 	"github.com/v2fly/v2ray-core/v4/transport/internet"
+	"github.com/v2fly/v2ray-core/v4/transport/internet/tls"
 	"github.com/v2fly/v2ray-core/v4/transport/internet/udp"
 )