2 writes to IdnHost
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (2)
30
IdnHost
= $"[{uri.IdnHost}]";
37
HostValue =
IdnHost
= uri.IdnHost;
15 references to IdnHost
System.Net.Http (15)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (5)
584
stream = await ConnectToTcpHostAsync(_originAuthority.
IdnHost
, _originAuthority.Port, request, async, cancellationToken).ConfigureAwait(false);
785
tunnelRequest.Headers.Host = $"{_originAuthority.
IdnHost
}:{_originAuthority.Port}"; // This specifies destination host/port to connect to
819
await SocksHelper.EstablishSocksTunnelAsync(stream, _originAuthority.
IdnHost
, _originAuthority.Port, _proxyUri, ProxyCredentials, async, cancellationToken).ConfigureAwait(false);
1024
$"https://{_originAuthority}" + (_sslOptionsHttp11.TargetHost != _originAuthority.
IdnHost
? $", SSL TargetHost={_sslOptionsHttp11.TargetHost}" : null)) :
1027
$"https://{_originAuthority}/ tunnelled via Proxy {_proxyUri}" + (_sslOptionsHttp11.TargetHost != _originAuthority.
IdnHost
? $", SSL TargetHost={_sslOptionsHttp11.TargetHost}" : null)));
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (1)
48
.Append(_originAuthority.
IdnHost
);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (2)
266
QuicConnection quicConnection = await ConnectHelper.ConnectQuicAsync(queueItem.Request, new DnsEndPoint(authority.
IdnHost
, authority.Port), _poolManager.Settings._pooledConnectionIdleTimeout, _sslOptionsHttp3!, connection.StreamCapacityCallback, cts.Token).ConfigureAwait(false);
675
var authority = new HttpAuthority(value.Host ?? _originAuthority.
IdnHost
, value.Port);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (2)
79
string altUsedValue = altUsedDefaultPort ? authority.
IdnHost
: string.Create(CultureInfo.InvariantCulture, $"{authority.
IdnHost
}:{authority.Port}");
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (5)
44
return other != null && string.Equals(
IdnHost
, other.
IdnHost
) && Port == other.Port;
54
return HashCode.Combine(
IdnHost
, Port);
60
return
IdnHost
!= null ? $"{
IdnHost
}:{Port}" : "<empty>";