From 908408dd45a58c3c284ecf0dfef539c5681230d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E3=81=AE=E3=81=8B=E3=81=88=E3=81=A7?= Date: Fri, 24 Sep 2021 13:21:03 +0800 Subject: [PATCH] Fix: Trojan fallback (#1286) --- proxy/trojan/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/trojan/server.go b/proxy/trojan/server.go index ca61aaa8048..45035fa0400 100644 --- a/proxy/trojan/server.go +++ b/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" )