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;