From 9b43120a38e74186f94f43e85724100a1740fc60 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 9c25beb0a3a..0333c27b641 100644 --- a/proxy/trojan/server.go +++ b/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" )