mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 18:23:56 +08:00
update 2026-07-29 21:57:11
This commit is contained in:
1 parent
fc55a53d53
commit
3d8e6bbff2
6 files changed
+1
-12
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_VERSION:=3c7254170e8976ea5d678ad0d8f8648d4385a8e1
|
PKG_SOURCE_VERSION:=2a007b399210ceb25e0538d381bbbe9d86a302e4
|
||||||
PKG_SOURCE_URL:=https://github.com/olicesx/dae.git
|
PKG_SOURCE_URL:=https://github.com/olicesx/dae.git
|
||||||
PKG_MIRROR_HASH:=skip
|
PKG_MIRROR_HASH:=skip
|
||||||
|
|
||||||
|
|||||||
@@ -592,10 +592,6 @@ if singbox_tags:find("with_utls") then
|
|||||||
o:depends({ [_n("reality")] = true })
|
o:depends({ [_n("reality")] = true })
|
||||||
end
|
end
|
||||||
|
|
||||||
o = s:option(Flag, _n("anytls_disable_reuse"), translate("Disable TLS Reuse"))
|
|
||||||
o.default = 0
|
|
||||||
o:depends({ [_n("protocol")] = "anytls" })
|
|
||||||
|
|
||||||
o = s:option(ListValue, _n("transport"), translate("Transport"))
|
o = s:option(ListValue, _n("transport"), translate("Transport"))
|
||||||
o:value("tcp", "TCP")
|
o:value("tcp", "TCP")
|
||||||
o:value("http", "HTTP")
|
o:value("http", "HTTP")
|
||||||
|
|||||||
@@ -613,7 +613,6 @@ function gen_outbound(flag, node, tag, proxy_table)
|
|||||||
idle_session_check_interval = "30s",
|
idle_session_check_interval = "30s",
|
||||||
idle_session_timeout = "30s",
|
idle_session_timeout = "30s",
|
||||||
min_idle_session = 5,
|
min_idle_session = 5,
|
||||||
disable_reuse = (node.anytls_disable_reuse == "1") and true or nil,
|
|
||||||
tls = tls
|
tls = tls
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -2156,6 +2156,3 @@ msgstr "Gecko 包大小(最大)"
|
|||||||
|
|
||||||
msgid "valid time (hh:mm)"
|
msgid "valid time (hh:mm)"
|
||||||
msgstr "有效时间(hh:mm)"
|
msgstr "有效时间(hh:mm)"
|
||||||
|
|
||||||
msgid "Disable TLS Reuse"
|
|
||||||
msgstr "禁用 TLS 连接复用"
|
|
||||||
@@ -478,8 +478,6 @@ local function encode_anytls(node)
|
|||||||
table.insert(p, "insecure=" .. (o.tls.insecure and "1" or "0"))
|
table.insert(p, "insecure=" .. (o.tls.insecure and "1" or "0"))
|
||||||
end
|
end
|
||||||
|
|
||||||
if node["disable-reuse"] then table.insert(p, "disable_reuse=1") end
|
|
||||||
|
|
||||||
if #p > 0 then
|
if #p > 0 then
|
||||||
link = link .. "?" .. table.concat(p, "&")
|
link = link .. "?" .. table.concat(p, "&")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1580,7 +1580,6 @@ local function processData(szType, content, add_mode, group, sub_cfg)
|
|||||||
end
|
end
|
||||||
result.port = port
|
result.port = port
|
||||||
result.tls_allowInsecure = params.allowinsecure or params.insecure
|
result.tls_allowInsecure = params.allowinsecure or params.insecure
|
||||||
result.anytls_disable_reuse = params.disable_reuse
|
|
||||||
end
|
end
|
||||||
elseif szType == 'naive+https' or szType == 'naive+quic' then
|
elseif szType == 'naive+https' or szType == 'naive+quic' then
|
||||||
if has_singbox then
|
if has_singbox then
|
||||||
|
|||||||
Reference in new issue
Block a user