24 references to State
Microsoft.AspNetCore.Server.Kestrel.Core (24)
Internal\Http2\Http2FrameWriter.cs (8)
223
var
observed = producer.UnobservedState;
224
var
currentState = producer.CurrentState;
227
static bool HasStateFlag(Http2OutputProducer.
State
state, Http2OutputProducer.
State
flags)
231
var flushHeaders = HasStateFlag(observed, Http2OutputProducer.
State
.FlushHeaders) && !HasStateFlag(currentState, Http2OutputProducer.
State
.FlushHeaders);
235
var aborted = HasStateFlag(currentState, Http2OutputProducer.
State
.Aborted);
236
var completed = HasStateFlag(currentState, Http2OutputProducer.
State
.Completed) && !hasMoreData;
Internal\Http2\Http2OutputProducer.cs (16)
51
private
State
_unobservedState;
54
private
State
_currentState;
99
internal (int, long,
State
,
State
, long) SchedulingState => (Stream.StreamId, _unconsumedBytes, _unobservedState, _currentState, _streamWindow);
101
public
State
UnobservedState
112
public
State
CurrentState
136
private void EnqueueStateUpdate(
State
state)
155
internal (bool hasMoreData, bool reschedule,
State
currentState, bool waitingForWindowUpdates) ObserveDataAndState(long bytes,
State
state)
163
return (_unconsumedBytes > 0, _unobservedState !=
State
.None, _currentState, _waitingForWindowUpdates);
198
_unobservedState =
State
.None;
199
_currentState =
State
.None;
222
EnqueueStateUpdate(
State
.Completed);
384
EnqueueStateUpdate(
State
.FlushHeaders);
432
EnqueueStateUpdate(
State
.Completed);
590
EnqueueStateUpdate(
State
.Aborted);