From 0b099f60c5b1fe3e1b30d6c220bc60927f0f94cb Mon Sep 17 00:00:00 2001 From: cola-prince Date: Sat, 21 Mar 2026 13:31:49 +0800 Subject: [PATCH] fix: remove default up_mbps fallback to allow BBR --- sub/clashService.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sub/clashService.go b/sub/clashService.go index 79d9248..c0bf8cf 100644 --- a/sub/clashService.go +++ b/sub/clashService.go @@ -167,13 +167,9 @@ func (s *ClashService) ConvertToClashMeta(outbounds *[]map[string]interface{}) ( case "hysteria", "hysteria2": if _, ok := obMap["up_mbps"].(float64); ok { proxy["up"] = obMap["up_mbps"] - } else { - proxy["up"] = 1000 } if _, ok := obMap["down_mbps"].(float64); ok { proxy["down"] = obMap["down_mbps"] - } else { - proxy["down"] = 1000 } if t == "hysteria" { proxy["auth-str"] = obMap["auth_str"]