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