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