20 references to ProtocolSelectionState
Microsoft.AspNetCore.Server.Kestrel.Core (20)
Internal\HttpConnection.cs (20)
34private ProtocolSelectionState _protocolSelectionState = ProtocolSelectionState.Initializing; 71_protocolSelectionState = ProtocolSelectionState.Selected; 79_protocolSelectionState = ProtocolSelectionState.Selected; 84_protocolSelectionState = ProtocolSelectionState.Selected; 150_protocolSelectionState = ProtocolSelectionState.Selected; 155ProtocolSelectionState previousState; 159Debug.Assert(previousState != ProtocolSelectionState.Initializing, "The state should never be initializing"); 164case ProtocolSelectionState.Selected: 167case ProtocolSelectionState.Aborted: 174ProtocolSelectionState previousState; 178Debug.Assert(previousState != ProtocolSelectionState.Initializing, "The state should never be initializing"); 183case ProtocolSelectionState.Selected: 186case ProtocolSelectionState.Aborted: 193ProtocolSelectionState previousState; 198Debug.Assert(previousState != ProtocolSelectionState.Initializing, "The state should never be initializing"); 200_protocolSelectionState = ProtocolSelectionState.Aborted; 205case ProtocolSelectionState.Selected: 208case ProtocolSelectionState.Aborted: 262if (_protocolSelectionState == ProtocolSelectionState.Aborted)