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:
parent
3327267396
commit
f6d589a6c4
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue