37 references to StreamCompletionState
System.Net.Http (37)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (37)
45
private
StreamCompletionState
_requestCompletionState;
46
private
StreamCompletionState
_responseCompletionState;
97
_requestCompletionState =
StreamCompletionState
.InProgress;
98
_responseCompletionState =
StreamCompletionState
.InProgress;
112
_requestCompletionState =
StreamCompletionState
.Completed;
156
public bool SendRequestFinished => _requestCompletionState !=
StreamCompletionState
.InProgress;
182
Debug.Assert(_requestCompletionState ==
StreamCompletionState
.Completed);
248
Debug.Assert(_requestCompletionState ==
StreamCompletionState
.InProgress, $"Request already completed with state={_requestCompletionState}");
255
Debug.Assert(_responseCompletionState ==
StreamCompletionState
.Completed);
256
_requestCompletionState =
StreamCompletionState
.Completed;
267
_requestCompletionState =
StreamCompletionState
.Failed;
291
Debug.Assert(_requestCompletionState ==
StreamCompletionState
.InProgress, $"Request already completed with state={_requestCompletionState}");
292
_requestCompletionState =
StreamCompletionState
.Completed;
295
if (_responseCompletionState !=
StreamCompletionState
.InProgress)
298
sendReset = _responseCompletionState ==
StreamCompletionState
.Failed;
365
Debug.Assert(_requestCompletionState !=
StreamCompletionState
.InProgress);
366
Debug.Assert(_responseCompletionState !=
StreamCompletionState
.InProgress);
367
Debug.Assert(_requestCompletionState ==
StreamCompletionState
.Failed || _responseCompletionState ==
StreamCompletionState
.Failed,
384
Debug.Assert(_requestCompletionState !=
StreamCompletionState
.InProgress);
385
Debug.Assert(_responseCompletionState !=
StreamCompletionState
.InProgress);
413
if (_requestCompletionState ==
StreamCompletionState
.InProgress)
457
if (_responseCompletionState ==
StreamCompletionState
.InProgress)
459
_responseCompletionState =
StreamCompletionState
.Failed;
460
if (_requestCompletionState !=
StreamCompletionState
.InProgress)
827
Debug.Assert(_responseCompletionState ==
StreamCompletionState
.InProgress, $"Response already completed with state={_responseCompletionState}");
829
_responseCompletionState =
StreamCompletionState
.Completed;
843
if (_requestCompletionState ==
StreamCompletionState
.Completed && !ConnectProtocolEstablished)
850
Debug.Assert(_requestCompletionState !=
StreamCompletionState
.Failed);
901
Debug.Assert(_responseCompletionState ==
StreamCompletionState
.InProgress, $"Response already completed with state={_responseCompletionState}");
903
_responseCompletionState =
StreamCompletionState
.Completed;
917
if (_requestCompletionState ==
StreamCompletionState
.Completed && !ConnectProtocolEstablished)
924
Debug.Assert(_requestCompletionState !=
StreamCompletionState
.Failed);
956
if (_requestCompletionState ==
StreamCompletionState
.Completed && _responseCompletionState ==
StreamCompletionState
.Completed)
982
_responseCompletionState ==
StreamCompletionState
.Completed)
984
if (_requestCompletionState ==
StreamCompletionState
.InProgress)