From 738b433041b5ac8ddaf6dc6fe1ef8d30da3a1224 Mon Sep 17 00:00:00 2001 From: swcoffee <61723666+swcoffee@users.noreply.github.com> Date: Sat, 26 Jul 2025 13:46:54 +0800 Subject: [PATCH] fix: missing field 'version' when distributing tuic protocol in stash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit stash下发tuic协议时缺少version字段,会导致订阅无法使用 --- app/Protocols/Stash.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Protocols/Stash.php b/app/Protocols/Stash.php index c27ea26..28d4cbe 100644 --- a/app/Protocols/Stash.php +++ b/app/Protocols/Stash.php @@ -405,6 +405,7 @@ class Stash extends AbstractProtocol 'heartbeat-interval' => 10000, 'request-timeout' => 8000, 'max-udp-relay-packet-size' => 1500, + 'version' => data_get($protocol_settings, 'version', 5), ]; $array['skip-cert-verify'] = (bool) data_get($protocol_settings, 'tls.allow_insecure', false);