5 writes to _userCanceled
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1ContentLengthMessageBody.cs (5)
39
return new ReadResult(_readResult.Buffer, Interlocked.Exchange(ref
_userCanceled
, 0) == 1, isCompleted: true);
98
if (!_readResult.IsCanceled || Interlocked.Exchange(ref
_userCanceled
, 0) == 1 || _cannotResetInputPipe)
126
readResult = new ReadResult(_readResult.Buffer, Interlocked.Exchange(ref
_userCanceled
, 0) == 1, isCompleted: true);
146
if (!_readResult.IsCanceled || Interlocked.Exchange(ref
_userCanceled
, 0) == 1 || _cannotResetInputPipe)
256
Interlocked.Exchange(ref
_userCanceled
, 1);