17 references to StreamCompletionFlags
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http2\Http2Stream.cs (17)
46
private
StreamCompletionFlags
_completionState;
54
_completionState =
StreamCompletionFlags
.None;
103
public bool EndStreamReceived => (_completionState &
StreamCompletionFlags
.EndStreamReceived) ==
StreamCompletionFlags
.EndStreamReceived;
104
private bool IsAborted => (_completionState &
StreamCompletionFlags
.Aborted) ==
StreamCompletionFlags
.Aborted;
105
internal bool RstStreamReceived => (_completionState &
StreamCompletionFlags
.RstStreamReceived) ==
StreamCompletionFlags
.RstStreamReceived;
161
var (oldState, newState) = ApplyCompletionFlag(
StreamCompletionFlags
.Aborted);
533
ApplyCompletionFlag(
StreamCompletionFlags
.EndStreamReceived);
565
ApplyCompletionFlag(
StreamCompletionFlags
.RstStreamReceived);
571
var (oldState, newState) = ApplyCompletionFlag(
StreamCompletionFlags
.Aborted);
598
var (oldState, newState) = ApplyCompletionFlag(
StreamCompletionFlags
.Aborted);
660
private (
StreamCompletionFlags
OldState,
StreamCompletionFlags
NewState) ApplyCompletionFlag(
StreamCompletionFlags
completionState)
664
var
oldCompletionState = _completionState;