31 references to StreamCompletionFlags
Microsoft.AspNetCore.Server.Kestrel.Core (31)
Internal\Http3\Http3ControlStream.cs (14)
34private StreamCompletionFlags _completionState; 36public bool EndStreamReceived => (_completionState & StreamCompletionFlags.EndStreamReceived) == StreamCompletionFlags.EndStreamReceived; 37public bool IsAborted => (_completionState & StreamCompletionFlags.Aborted) == StreamCompletionFlags.Aborted; 38public bool IsCompleted => (_completionState & StreamCompletionFlags.Completed) == StreamCompletionFlags.Completed; 66ApplyCompletionFlag(StreamCompletionFlags.Completed); 87var (oldState, newState) = ApplyCompletionFlag(StreamCompletionFlags.Aborted); 119private (StreamCompletionFlags OldState, StreamCompletionFlags NewState) ApplyCompletionFlag(StreamCompletionFlags completionState) 123var oldCompletionState = _completionState; 243ApplyCompletionFlag(StreamCompletionFlags.Completed);
Internal\Http3\Http3Stream.cs (17)
51private StreamCompletionFlags _completionState; 64public bool EndStreamReceived => (_completionState & StreamCompletionFlags.EndStreamReceived) == StreamCompletionFlags.EndStreamReceived; 65public bool IsAborted => (_completionState & StreamCompletionFlags.Aborted) == StreamCompletionFlags.Aborted; 66private bool IsAbortedRead => (_completionState & StreamCompletionFlags.AbortedRead) == StreamCompletionFlags.AbortedRead; 67public bool IsCompleted => (_completionState & StreamCompletionFlags.Completed) == StreamCompletionFlags.Completed; 158var (oldState, newState) = ApplyCompletionFlag(StreamCompletionFlags.Aborted); 549var (oldState, newState) = ApplyCompletionFlag(StreamCompletionFlags.AbortedRead); 702ApplyCompletionFlag(StreamCompletionFlags.Completed); 727ApplyCompletionFlag(StreamCompletionFlags.EndStreamReceived); 1196private (StreamCompletionFlags OldState, StreamCompletionFlags NewState) ApplyCompletionFlag(StreamCompletionFlags completionState) 1200var oldCompletionState = _completionState;