2 writes to _availableStreamsWaiter
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (2)
360
_availableStreamsWaiter
= new TaskCompletionSource<bool>(TaskCreationOptions.RunContinuationsAsynchronously);
375
_availableStreamsWaiter
= null;
10 references to _availableStreamsWaiter
System.Net.Http (10)
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (10)
318
Debug.Assert(
_availableStreamsWaiter
is null || _streamsInUse >= _maxConcurrentStreams);
347
Debug.Assert(
_availableStreamsWaiter
is null, "As used currently, shouldn't already have a waiter");
361
return
_availableStreamsWaiter
.Task;
367
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(result)}={result}, {nameof(
_availableStreamsWaiter
)}?={
_availableStreamsWaiter
is not null}");
371
if (
_availableStreamsWaiter
is not null)
374
_availableStreamsWaiter
.SetResult(result);
929
if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(
_availableStreamsWaiter
)}?={
_availableStreamsWaiter
is not null}");
931
Debug.Assert(
_availableStreamsWaiter
is null || _streamsInUse >= _maxConcurrentStreams);