mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Fix QUIC auth
This commit is contained in:
parent
ed2c513637
commit
64500beb7c
@ -443,6 +443,7 @@ std::unique_ptr<URLRequestContext> BuildURLRequestContext(
|
|||||||
GURL proxy_gurl(proxy_url);
|
GURL proxy_gurl(proxy_url);
|
||||||
if (proxy_url.compare(0, 7, "quic://") == 0) {
|
if (proxy_url.compare(0, 7, "quic://") == 0) {
|
||||||
proxy_url.replace(0, 4, "https");
|
proxy_url.replace(0, 4, "https");
|
||||||
|
proxy_gurl = GURL(proxy_url);
|
||||||
auto* quic = context->quic_context()->params();
|
auto* quic = context->quic_context()->params();
|
||||||
quic->supported_versions = {quic::ParsedQuicVersion::RFCv1()};
|
quic->supported_versions = {quic::ParsedQuicVersion::RFCv1()};
|
||||||
quic->origins_to_force_quic_on.insert(
|
quic->origins_to_force_quic_on.insert(
|
||||||
|
Loading…
Reference in New Issue
Block a user