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