From e691f0fa1c041b1309109f5d6d25a80df23534da Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 3 Jun 2026 04:39:10 +0800 Subject: [PATCH] Update AllowInsecure.patch --- .../diy/packages/xray-core/patches/AllowInsecure.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/diy/packages/xray-core/patches/AllowInsecure.patch b/.github/diy/packages/xray-core/patches/AllowInsecure.patch index 7977f4dd..b43b5618 100644 --- a/.github/diy/packages/xray-core/patches/AllowInsecure.patch +++ b/.github/diy/packages/xray-core/patches/AllowInsecure.patch @@ -1,6 +1,14 @@ --- a/infra/conf/transport_internet.go +++ b/infra/conf/transport_internet.go -@@ -699,12 +699,7 @@ func (c *TLSConfig) Build() (proto.Message, error) { +@@ -14,7 +14,6 @@ import ( + "strconv" + "strings" + "syscall" +- "time" + + "github.com/xtls/xray-core/common" + "github.com/xtls/xray-core/common/errors" +@@ -699,12 +698,7 @@ func (c *TLSConfig) Build() (proto.Message, error) { config.MasterKeyLog = c.MasterKeyLog if c.AllowInsecure {