2 writes to IdnHost
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (2)
30IdnHost = $"[{uri.IdnHost}]"; 37HostValue = IdnHost = uri.IdnHost;
16 references to IdnHost
System.Net.Http (16)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (5)
595stream = await ConnectToTcpHostAsync(_originAuthority.IdnHost, _originAuthority.Port, request, async, connectionId, cancellationToken).ConfigureAwait(false); 798tunnelRequest.Headers.Host = $"{_originAuthority.IdnHost}:{_originAuthority.Port}"; // This specifies destination host/port to connect to 832await SocksHelper.EstablishSocksTunnelAsync(stream, _originAuthority.IdnHost, _originAuthority.Port, _proxyUri, ProxyCredentials, async, cancellationToken).ConfigureAwait(false); 1155$"https://{_originAuthority}" + (_sslOptionsHttp11.TargetHost != _originAuthority.IdnHost ? $", SSL TargetHost={_sslOptionsHttp11.TargetHost}" : null)) : 1158$"https://{_originAuthority}/ tunnelled via Proxy {_proxyUri}" + (_sslOptionsHttp11.TargetHost != _originAuthority.IdnHost ? $", SSL TargetHost={_sslOptionsHttp11.TargetHost}" : null)));
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
57.Append(_originAuthority.IdnHost);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (2)
269var connectEndPoint = new DnsEndPoint(authority.IdnHost, authority.Port); 685var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (2)
80string altUsedValue = altUsedDefaultPort ? authority.IdnHost : string.Create(CultureInfo.InvariantCulture, $"{authority.IdnHost}:{authority.Port}");
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (5)
54return other != null && string.Equals(IdnHost, other.IdnHost) && Port == other.Port; 64return HashCode.Combine(IdnHost, Port); 70return IdnHost != null ? $"{IdnHost}:{Port}" : "<empty>";
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (1)
108connectedEndPoint ?? new DnsEndPoint(authority.IdnHost, authority.Port),