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}"; 293public HttpAuthority OriginAuthority => _originAuthority; 573stream = await ConnectToTcpHostAsync(_originAuthority.IdnHost, _originAuthority.Port, request, async, cancellationToken).ConfigureAwait(false); 762tunnelRequest.Headers.Host = $"{_originAuthority.IdnHost}:{_originAuthority.Port}"; // This specifies destination host/port to connect to 796await SocksHelper.EstablishSocksTunnelAsync(stream, _originAuthority.IdnHost, _originAuthority.Port, _proxyUri, ProxyCredentials, async, cancellationToken).ConfigureAwait(false); 991$"http://{_originAuthority}" : 992$"https://{_originAuthority}" + (_sslOptionsHttp11.TargetHost != _originAuthority.IdnHost ? $", SSL TargetHost={_sslOptionsHttp11.TargetHost}" : null)) : 995$"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); 52sb.Append(CultureInfo.InvariantCulture, $":{_originAuthority.Port}");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (5)
39/// <summary>A timer to expire <see cref="_http3Authority"/> and return the pool to <see cref="_originAuthority"/>. Initialized on first use.</summary> 42/// <summary>If true, the <see cref="_http3Authority"/> will persist across a network change. If false, it will be reset to <see cref="_originAuthority"/>.</summary> 67authority ??= _originAuthority; 92if (response.StatusCode == HttpStatusCode.MisdirectedRequest && connection.Authority != _originAuthority) 241var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port);