1 write to _originAuthority
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
85
_originAuthority
= new HttpAuthority(host ?? proxyUri!.IdnHost, port);
22 references to _originAuthority
System.Net.Http (22)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (15)
182
?
_originAuthority
.HostValue
183
: $"{
_originAuthority
.HostValue}:{
_originAuthority
.Port}";
297
public HttpAuthority OriginAuthority =>
_originAuthority
;
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);
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)
48
/// <summary>A timer to expire <see cref="_http3Authority"/> and return the pool to <see cref="
_originAuthority
"/>. Initialized on first use.</summary>
51
/// <summary>If true, the <see cref="_http3Authority"/> will persist across a network change. If false, it will be reset to <see cref="
_originAuthority
"/>.</summary>
116
if (response.StatusCode == HttpStatusCode.MisdirectedRequest && connection.Authority !=
_originAuthority
)
616
authority ??=
_originAuthority
;
675
var authority = new HttpAuthority(value.Host ??
_originAuthority
.IdnHost, value.Port);