From 28550d9d445749f3194c843b9810a0de3985254f Mon Sep 17 00:00:00 2001 From: gitea-action Date: Thu, 22 May 2025 22:30:36 +0800 Subject: [PATCH] luci-app-ssr-plus: sync upstream last commit: https://github.com/fw876/helloworld/commit/63a6fe16d85cfe0ed3015931c6b6231e014e1f08 --- luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua b/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua index 114e7b825..e6ac183d2 100755 --- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua +++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/subscribe.lua @@ -177,8 +177,10 @@ end local function processData(szType, content) local result = {type = szType, local_port = 1234, kcp_param = '--nocomp'} -- 检查JSON的格式如不完整丢弃 - if not isCompleteJSON(content) then - return nil + if not (szType == "sip008" or szType == "ssd") then + if not isCompleteJSON(content) then + return nil + end end if szType == "hysteria2" or szType == "hy2" then