27 references to RequestProcessingStatus
Microsoft.AspNetCore.Server.Kestrel.Core (27)
Internal\Http\Http1Connection.cs (14)
171case RequestProcessingStatus.RequestPending: 186_requestProcessingStatus = RequestProcessingStatus.ParsingRequestLine; 187goto case RequestProcessingStatus.ParsingRequestLine; 188case RequestProcessingStatus.ParsingRequestLine: 191_requestProcessingStatus = RequestProcessingStatus.ParsingHeaders; 192goto case RequestProcessingStatus.ParsingHeaders; 198case RequestProcessingStatus.ParsingHeaders: 201_requestProcessingStatus = RequestProcessingStatus.AppStarted; 729catch (InvalidOperationException) when (_requestProcessingStatus == RequestProcessingStatus.ParsingHeaders) 755case RequestProcessingStatus.RequestPending: 758case RequestProcessingStatus.ParsingRequestLine: 761case RequestProcessingStatus.ParsingHeaders: 766else if (!_keepAlive && _requestProcessingStatus == RequestProcessingStatus.RequestPending) 781if (_requestProcessingStatus == RequestProcessingStatus.AppStarted)
Internal\Http\HttpProtocol.cs (13)
52protected RequestProcessingStatus _requestProcessingStatus; 315public bool HasResponseStarted => _requestProcessingStatus >= RequestProcessingStatus.HeadersCommitted; 317public bool HasFlushedHeaders => _requestProcessingStatus >= RequestProcessingStatus.HeadersFlushed; 319public bool HasResponseCompleted => _requestProcessingStatus == RequestProcessingStatus.ResponseCompleted; 340_requestProcessingStatus = RequestProcessingStatus.RequestPending; 349_requestProcessingStatus = RequestProcessingStatus.RequestPending; 594if (_requestProcessingStatus != RequestProcessingStatus.RequestPending) 984_requestProcessingStatus = RequestProcessingStatus.HeadersFlushed; 998_requestProcessingStatus = RequestProcessingStatus.HeadersCommitted; 1085_requestProcessingStatus = RequestProcessingStatus.ResponseCompleted; 1102_requestProcessingStatus = RequestProcessingStatus.HeadersFlushed; 1106_requestProcessingStatus = RequestProcessingStatus.ResponseCompleted; 1321_requestProcessingStatus = RequestProcessingStatus.AppStarted;