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)
174
if (
_readAheadTask
.IsCompleted)
176
LogExceptions(
_readAheadTask
.AsTask());
216
LogExceptions(
_readAheadTask
.AsTask());
232
Debug.Assert(
_readAheadTask
== default);
242
return !
_readAheadTask
.IsCompleted;
246
Debug.Assert(
_readAheadTask
== default);
610
Debug.Assert(
_readAheadTask
!= default);
618
ValueTask<int> vt =
_readAheadTask
;
854
if (
_readAheadTask
!= default)
858
LogExceptions(
_readAheadTask
.AsTask());
1640
Debug.Assert(
_readAheadTask
== default);
1767
Debug.Assert(
_readAheadTask
== default, "Read ahead task should have been consumed as part of the headers.");
1785
Debug.Assert(
_readAheadTask
== default, "Read ahead task should have been consumed as part of the headers.");
1806
Debug.Assert(
_readAheadTask
== default, "Read ahead task should have been consumed as part of the headers.");
1844
Debug.Assert(
_readAheadTask
== default, "Read ahead task should have been consumed as part of the headers.");
2101
Debug.Assert(
_readAheadTask
== default, "Expected a previous initial read to already be consumed.");