19 references to HttpStreamState
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Internal\Http\HttpRequestPipeReader.cs (9)
16
private
HttpStreamState
_state;
21
_state =
HttpStreamState
.Closed;
76
if (_state ==
HttpStreamState
.Closed)
78
_state =
HttpStreamState
.Open;
87
_state =
HttpStreamState
.Closed;
105
_state =
HttpStreamState
.Aborted;
114
case
HttpStreamState
.Open:
117
case
HttpStreamState
.Closed:
120
case
HttpStreamState
.Aborted:
Internal\Http\HttpResponsePipeWriter.cs (10)
13
private
HttpStreamState
_state;
19
_state =
HttpStreamState
.Closed;
73
if (_state ==
HttpStreamState
.Closed)
75
_state =
HttpStreamState
.Open;
83
_state =
HttpStreamState
.Closed;
90
if (_state !=
HttpStreamState
.Closed)
92
_state =
HttpStreamState
.Aborted;
102
var
state = _state;
103
if (state ==
HttpStreamState
.Open || state ==
HttpStreamState
.Aborted)