From ce1ace7bafcdb241f64b327f6f5aede5b721b5b4 Mon Sep 17 00:00:00 2001 From: parhelia512 <0011d3@gmail.com> Date: Mon, 8 Dec 2025 16:56:38 +0800 Subject: [PATCH] fix: fix hysteria/tuic link parser --- src/configs/outbounds/hysteria.cpp | 1 + src/configs/outbounds/tuic.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/configs/outbounds/hysteria.cpp b/src/configs/outbounds/hysteria.cpp index 65521fa..efc80bc 100644 --- a/src/configs/outbounds/hysteria.cpp +++ b/src/configs/outbounds/hysteria.cpp @@ -58,6 +58,7 @@ namespace Configs { } tls->ParseFromLink(link); + tls->enabled = true; // Hysteria always uses tls if (server_port == 0 && server_ports.isEmpty()) server_port = 443; diff --git a/src/configs/outbounds/tuic.cpp b/src/configs/outbounds/tuic.cpp index 7af843b..8643877 100644 --- a/src/configs/outbounds/tuic.cpp +++ b/src/configs/outbounds/tuic.cpp @@ -23,6 +23,7 @@ namespace Configs { if (query.hasQueryItem("heartbeat")) heartbeat = query.queryItemValue("heartbeat"); tls->ParseFromLink(link); + tls->enabled = true; // TUIC always uses tls if (server_port == 0) server_port = 443;