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

◆ ReleaseStream()

void System.Net.Http.Http2Connection.ReleaseStream ( )
inline

Definition at line 1911 of file Http2Connection.cs.

1912 {
1914 {
1915 if (System.Net.NetEventSource.Log.IsEnabled())
1916 {
1917 Trace($"{"_streamsInUse"}={_streamsInUse}", "ReleaseStream");
1918 }
1919 _streamsInUse--;
1921 {
1923 }
1924 if (_streamsInUse == 0)
1925 {
1926 _idleSinceTickCount = Environment.TickCount64;
1927 if (_disposed)
1928 {
1929 FinalTeardown();
1930 }
1931 }
1932 }
1933 }
void SignalAvailableStreamsWaiter(bool result)
override void Trace(string message, [CallerMemberName] string memberName=null)
static readonly System.Net.NetEventSource Log

References System.Net.Http.Http2Connection._disposed, System.Net.Http.Http2Connection._idleSinceTickCount, System.Net.Http.Http2Connection._maxConcurrentStreams, System.Net.Http.Http2Connection._streamsInUse, System.Net.Http.Http2Connection.FinalTeardown(), System.Net.NetEventSource.Log, System.Net.Http.Http2Connection.SignalAvailableStreamsWaiter(), System.Net.Http.Http2Connection.SyncObject, System.Environment.TickCount64, and System.Net.Http.Http2Connection.Trace().

Referenced by System.Net.Http.Http2Connection.RemoveStream(), System.Net.Http.HttpConnectionPool.ReturnHttp2Connection(), and System.Net.Http.Http2Connection.SendHeadersAsync().