From a3a475eefba72074c738773d54cfd215b04d9deb Mon Sep 17 00:00:00 2001 From: klzgrad Date: Mon, 22 Jul 2024 01:32:40 +0800 Subject: [PATCH] fix naive --- src/net/tools/naive/naive_config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/tools/naive/naive_config.cc b/src/net/tools/naive/naive_config.cc index 0c8d98c7ca..8d5b36aba4 100644 --- a/src/net/tools/naive/naive_config.cc +++ b/src/net/tools/naive/naive_config.cc @@ -155,7 +155,7 @@ bool NaiveConfig::Parse(const base::Value::Dict& value) { return false; } origins_to_force_quic_on.insert(HostPortPair::FromURL(url)); - } else if (last.is_https() || last.is_http()) { + } else if (last.is_https() || last.is_http() || last.is_socks()) { seen_tcp = true; } else { std::cerr << "Invalid proxy scheme" << std::endl;