From e692d26ea015acda46c5c9bca898337d9510f112 Mon Sep 17 00:00:00 2001 From: zxlhhyccc <45259624+zxlhhyccc@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:19:30 +0800 Subject: [PATCH] =?UTF-8?q?luci-app-ssr-plus=EF=BC=9AFix=20`Hysteria2`=20f?= =?UTF-8?q?ailure=20to=20start=20problem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 传输 (Transport) transport 用于自定义 QUIC 连接使用的底层协议。目前唯一可用的类型是 udp,保留类型选项是为了将来可能添加的其他类型。 ``` transport: type: udp udp: hopInterval: 30s ````` --- luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua index 9e84683e28d..36e7b84adf1 100755 --- a/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua +++ b/luci-app-ssr-plus/root/usr/share/shadowsocksr/gen_config.lua @@ -290,7 +290,7 @@ local hysteria = { transport = { type = server.transport_protocol, udp = { - hopInterval = tonumber(server.hopinterval) and tonumber(server.hopinterval) .. "s" or nil + hopInterval = tonumber(server.hopinterval) and tonumber(server.hopinterval) .. "s" or "30s" } }, --[[