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