Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ChangeMaxConcurrentStreams()

void System.Net.Http.Http2Connection.ChangeMaxConcurrentStreams ( uint newValue)
inlineprivate

Definition at line 2322 of file Http2Connection.cs.

2323 {
2325 {
2326 if (System.Net.NetEventSource.Log.IsEnabled())
2327 {
2328 Trace($"{"newValue"}={newValue}, {"_streamsInUse"}={_streamsInUse}, {"_availableStreamsWaiter"}?={_availableStreamsWaiter != null}", "ChangeMaxConcurrentStreams");
2329 }
2332 {
2334 }
2335 }
2336 }
TaskCompletionSource< bool > _availableStreamsWaiter
void SignalAvailableStreamsWaiter(bool result)
override void Trace(string message, [CallerMemberName] string memberName=null)
static readonly System.Net.NetEventSource Log

References System.Net.Http.Http2Connection._availableStreamsWaiter, System.Net.Http.Http2Connection._maxConcurrentStreams, System.Net.Http.Http2Connection._streamsInUse, System.Net.NetEventSource.Log, System.Net.Http.Http2Connection.SignalAvailableStreamsWaiter(), System.Net.Http.Http2Connection.SyncObject, and System.Net.Http.Http2Connection.Trace().

Referenced by System.Net.Http.Http2Connection.ProcessSettingsFrame().