Explorar el Código

Fix: Trojan fallback (#1286)

秋のかえで hace 4 años
padre
commit
9b43120a38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      proxy/trojan/server.go

+ 1 - 1
proxy/trojan/server.go

@@ -5,7 +5,6 @@ package trojan
 
 import (
 	"context"
-	"crypto/tls"
 	"io"
 	"strconv"
 	"time"
@@ -25,6 +24,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"
 )