1 write to _originAuthority
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
87
_originAuthority
= new HttpAuthority(host ?? proxyUri!.IdnHost, port);
22 references to _originAuthority
System.Net.Http (22)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (15)
184
?
_originAuthority
.HostValue
185
: $"{
_originAuthority
.HostValue}:{
_originAuthority
.Port}";
286
public HttpAuthority OriginAuthority =>
_originAuthority
;
573
stream = await ConnectToTcpHostAsync(
_originAuthority
.IdnHost,
_originAuthority
.Port, request, async, cancellationToken).ConfigureAwait(false);
774
tunnelRequest.Headers.Host = $"{
_originAuthority
.IdnHost}:{
_originAuthority
.Port}"; // This specifies destination host/port to connect to
808
await SocksHelper.EstablishSocksTunnelAsync(stream,
_originAuthority
.IdnHost,
_originAuthority
.Port, _proxyUri, ProxyCredentials, async, cancellationToken).ConfigureAwait(false);
1023
$"http://{
_originAuthority
}" :
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 (2)
48
.Append(
_originAuthority
.IdnHost);
52
sb.Append(CultureInfo.InvariantCulture, $":{
_originAuthority
.Port}");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (5)
43
/// <summary>A timer to expire <see cref="_http3Authority"/> and return the pool to <see cref="
_originAuthority
"/>. Initialized on first use.</summary>
46
/// <summary>If true, the <see cref="_http3Authority"/> will persist across a network change. If false, it will be reset to <see cref="
_originAuthority
"/>.</summary>
112
if (response.StatusCode == HttpStatusCode.MisdirectedRequest && connection.Authority !=
_originAuthority
)
617
authority ??=
_originAuthority
;
684
var authority = new HttpAuthority(value.Host ??
_originAuthority
.IdnHost, value.Port);