From 1e59bc8ca1d4c697afad74529d9ecdc7ced1468c Mon Sep 17 00:00:00 2001 From: xboard Date: Fri, 11 Jul 2025 08:48:02 +0800 Subject: [PATCH] fix(subscribe): Disable anytls protocol for Stash client --- app/Protocols/Stash.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Protocols/Stash.php b/app/Protocols/Stash.php index 3fa6c03..26035fc 100644 --- a/app/Protocols/Stash.php +++ b/app/Protocols/Stash.php @@ -13,7 +13,7 @@ class Stash extends AbstractProtocol protected $protocolRequirements = [ 'stash' => [ 'anytls' => [ - 'base_version' => '3.1.0' + 'base_version' => '9.9.9' ], 'vless' => [ 'protocol_settings.tls' => [ @@ -104,10 +104,10 @@ class Stash extends AbstractProtocol array_push($proxy, self::buildTuic($user['uuid'], $item)); array_push($proxies, $item['name']); } - if ($item['type'] === 'anytls') { - array_push($proxy, self::buildAnyTLS($user['uuid'], $item)); - array_push($proxies, $item['name']); - } + // if ($item['type'] === 'anytls') { + // array_push($proxy, self::buildAnyTLS($user['uuid'], $item)); + // array_push($proxies, $item['name']); + // } if ($item['type'] === 'socks') { array_push($proxy, self::buildSocks5($user['uuid'], $item)); array_push($proxies, $item['name']);