Merge branch 'release/2.2'

This commit is contained in:
Stephen Halter 2018-11-09 12:46:07 -08:00
commit 119a7695aa
1 changed files with 2 additions and 2 deletions

View File

@ -1045,11 +1045,11 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2
{
lock (_stateLock)
{
_activeStreamCount--;
// Get, Add, Remove so the steam is always registered in at least one collection at a time.
if (_streams.TryGetValue(streamId, out var stream))
{
_activeStreamCount--;
if (stream.IsDraining)
{
stream.DrainExpiration =