3 writes to _readAheadTask
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (3)
169_readAheadTask = _stream.ReadAsync(_readBuffer.AvailableMemory); 237_readAheadTask = ReadAheadWithZeroByteReadAsync(); 619_readAheadTask = default;
16 references to _readAheadTask
System.Net.Http (16)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (16)
174if (_readAheadTask.IsCompleted) 176LogExceptions(_readAheadTask.AsTask()); 216LogExceptions(_readAheadTask.AsTask()); 232Debug.Assert(_readAheadTask == default); 242return !_readAheadTask.IsCompleted; 246Debug.Assert(_readAheadTask == default); 610Debug.Assert(_readAheadTask != default); 618ValueTask<int> vt = _readAheadTask; 854if (_readAheadTask != default) 858LogExceptions(_readAheadTask.AsTask()); 1640Debug.Assert(_readAheadTask == default); 1767Debug.Assert(_readAheadTask == default, "Read ahead task should have been consumed as part of the headers."); 1785Debug.Assert(_readAheadTask == default, "Read ahead task should have been consumed as part of the headers."); 1806Debug.Assert(_readAheadTask == default, "Read ahead task should have been consumed as part of the headers."); 1844Debug.Assert(_readAheadTask == default, "Read ahead task should have been consumed as part of the headers."); 2101Debug.Assert(_readAheadTask == default, "Expected a previous initial read to already be consumed.");