2 writes to _creditWaiter
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
397_creditWaiter = null; 1298_creditWaiter = new CreditWaiter(_requestBodyCancellationSource.Token);
9 references to _creditWaiter
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (9)
393CreditWaiter? waiter = _creditWaiter; 482if (_availableCredit > 0 && _creditWaiter != null) 484int granted = Math.Min(_availableCredit, _creditWaiter.Amount); 485if (_creditWaiter.TrySetResult(granted)) 1296if (_creditWaiter is null) 1302_creditWaiter.ResetForAwait(_requestBodyCancellationSource.Token); 1304_creditWaiter.Amount = buffer.Length; 1311Debug.Assert(_creditWaiter != null); 1312sendSize = await _creditWaiter.AsValueTask().ConfigureAwait(false);