5 writes to _userCanceled
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\Http1ContentLengthMessageBody.cs (5)
40
return new ReadResult(_readResult.Buffer, Interlocked.Exchange(ref
_userCanceled
, 0) == 1, isCompleted: true);
99
if (!_readResult.IsCanceled || Interlocked.Exchange(ref
_userCanceled
, 0) == 1 || _cannotResetInputPipe)
127
readResult = new ReadResult(_readResult.Buffer, Interlocked.Exchange(ref
_userCanceled
, 0) == 1, isCompleted: true);
147
if (!_readResult.IsCanceled || Interlocked.Exchange(ref
_userCanceled
, 0) == 1 || _cannotResetInputPipe)
257
Interlocked.Exchange(ref
_userCanceled
, 1);