Merge branch 'release/2.2'
This commit is contained in:
commit
119a7695aa
|
|
@ -1045,11 +1045,11 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2
|
||||||
{
|
{
|
||||||
lock (_stateLock)
|
lock (_stateLock)
|
||||||
{
|
{
|
||||||
|
_activeStreamCount--;
|
||||||
|
|
||||||
// Get, Add, Remove so the steam is always registered in at least one collection at a time.
|
// Get, Add, Remove so the steam is always registered in at least one collection at a time.
|
||||||
if (_streams.TryGetValue(streamId, out var stream))
|
if (_streams.TryGetValue(streamId, out var stream))
|
||||||
{
|
{
|
||||||
_activeStreamCount--;
|
|
||||||
|
|
||||||
if (stream.IsDraining)
|
if (stream.IsDraining)
|
||||||
{
|
{
|
||||||
stream.DrainExpiration =
|
stream.DrainExpiration =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue