From 84fc5b9177a006dd4a4561796bd3e2660edba9fa 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 12:41:14 +0800 Subject: [PATCH] Fix: Trojan fallback --- 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" )