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
50bb0b3bc9
commit
2b87e7be85
|
|
@ -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