12 references to KeepAliveState
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Http2\Http2Connection.cs (3)
369
var
state = _keepAlive.ProcessKeepAlive(frameReceived);
370
if (state ==
KeepAliveState
.SendPing)
374
else if (state ==
KeepAliveState
.Timeout)
Internal\Http2\Http2KeepAlive.cs (9)
33
internal
KeepAliveState
_state;
43
public
KeepAliveState
ProcessKeepAlive(bool frameReceived)
53
if (_state ==
KeepAliveState
.PingSent)
56
_state =
KeepAliveState
.None;
63
case
KeepAliveState
.None:
69
_state =
KeepAliveState
.PingSent;
74
return
KeepAliveState
.SendPing;
77
case
KeepAliveState
.PingSent:
82
_state =
KeepAliveState
.Timeout;