Remove invalid Debug.Assert in Http2Connection (#3080)

The _streams dictionary may not contain the completing stream in
OnStreamCompleted since the IsDraining flag is applied beforehand
which allows it to be removed by the request processing thread.
This commit is contained in:
Stephen Halter 2018-11-07 17:08:44 -08:00 committed by GitHub
parent 3327267396
commit f6d589a6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -1062,10 +1062,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2
_streams.TryRemove(streamId, out _);
}
}
else
{
Debug.Assert(false, "Missing stream");
}
if (_activeStreamCount == 0)
{