2 writes to _connection
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
71_connection = connection; 1433stream._connection = null!;
36 references to _connection
System.Net.Http (36)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (36)
93_connection.LogExceptions(_stream.DisposeAsync().AsTask()); 107_connection.RemoveStream(_stream); 119_connection.LogExceptions(_stream.DisposeAsync().AsTask()); 131_connection.RemoveStream(_stream); 202_connection.LogExceptions(readResponseTask); 210_connection.LogExceptions(sendRequestTask); 228_connection.LogExceptions(writesClosed); 255if (_connection.Pool.Settings._useCookies) 257CookieHelper.ProcessReceivedCookies(_response, _connection.Pool.Settings._cookieContainer!); 289Exception innerException = _connection.AbortException ?? HttpProtocolException.CreateHttp3StreamException(code, ex); 300Exception abortException = _connection.Abort(HttpProtocolException.CreateHttp3ConnectionException(code, SR.net_http_http3_connection_close)); 309catch (QuicException ex) when (ex.QuicError == QuicError.OperationAborted && _connection.AbortException != null) 312HttpRequestError httpRequestError = _connection.AbortException is HttpProtocolException 316throw new HttpRequestException(httpRequestError, SR.net_http_client_execution_error, _connection.AbortException); 335_connection.Abort(ex); 340Exception abortException = _connection.Abort(HttpProtocolException.CreateHttp3ConnectionException(Http3ErrorCode.QPackDecompressionFailed)); 420if (_connection.Pool.Settings._expect100ContinueTimeout != Timeout.InfiniteTimeSpan) 423this, _connection.Pool.Settings._expect100ContinueTimeout, Timeout.InfiniteTimeSpan); 604if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(_connection.Id); 632BufferBytes(_connection.Pool._http3EncodedAuthorityHostHeader); 647BufferBytes(_connection.AltUsedEncodedHeaderBytes); 662if (_connection.Pool.Settings._useCookies) 664string cookiesFromContainer = _connection.Pool.Settings._cookieContainer!.GetCookieHeader(request.RequestUri); 667Encoding? valueEncoding = _connection.Pool.Settings._requestHeaderEncodingSelector?.Invoke(HttpKnownHeaderNames.Cookie, request); 703uint maxHeaderListSize = _connection.MaxHeaderListSize; 715HeaderEncodingSelector<HttpRequestMessage>? encodingSelector = _connection.Pool.Settings._requestHeaderEncodingSelector; 908throw new HttpRequestException(HttpRequestError.ConfigurationLimitExceeded, SR.Format(SR.net_http_response_headers_exceeded_length, _connection.Pool.Settings.MaxResponseHeadersByteLength)); 1081Encoding? encoding = _connection.Pool.Settings._responseHeaderEncodingSelector?.Invoke(descriptor.Name, _request); 1082headerValue = _connection.GetResponseHeaderValueWithCaching(descriptor, literalValue, encoding); 1300_connection.Abort(exception); 1303case QuicException e when (e.QuicError == QuicError.OperationAborted && _connection.AbortException != null): 1305HttpRequestError httpRequestError = _connection.AbortException is HttpProtocolException 1308throw new HttpRequestException(httpRequestError, SR.net_http_client_execution_error, _connection.AbortException); 1316_connection.Abort(ex); 1377_connection.Trace(StreamId, message, memberName); 1432stream._connection.RemoveStream(stream._stream);