From 64500beb7cc5906530a739a75aca71c5f1bb806c Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 20 Feb 2022 11:04:23 +0800 Subject: [PATCH] Fix QUIC auth --- src/net/tools/naive/naive_proxy_bin.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/tools/naive/naive_proxy_bin.cc b/src/net/tools/naive/naive_proxy_bin.cc index dd5540eef8..0b8f241879 100644 --- a/src/net/tools/naive/naive_proxy_bin.cc +++ b/src/net/tools/naive/naive_proxy_bin.cc @@ -443,6 +443,7 @@ std::unique_ptr BuildURLRequestContext( GURL proxy_gurl(proxy_url); if (proxy_url.compare(0, 7, "quic://") == 0) { proxy_url.replace(0, 4, "https"); + proxy_gurl = GURL(proxy_url); auto* quic = context->quic_context()->params(); quic->supported_versions = {quic::ParsedQuicVersion::RFCv1()}; quic->origins_to_force_quic_on.insert(