mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
socket: Fix invalid SchemeHostPort of bracketless ipv6 hostnames
This commit is contained in:
parent
c981e15e2d
commit
c37f1a92d6
@ -292,7 +292,7 @@ int InitSocketHandleForRawConnect2(const HostPortPair& endpoint,
|
||||
CompletionOnceCallback callback) {
|
||||
DCHECK(socket_handle);
|
||||
return InitSocketPoolHelper(
|
||||
{"http", endpoint.host(), endpoint.port()}, request_load_flags,
|
||||
{"http", endpoint.HostForURL(), endpoint.port()}, request_load_flags,
|
||||
request_priority, session, proxy_info, ssl_config_for_origin,
|
||||
ssl_config_for_proxy,
|
||||
/*is_for_websockets=*/true, privacy_mode,
|
||||
|
Loading…
Reference in New Issue
Block a user