Uh oh!
There was an error while loading. Please reload this page.
Fix Http2Connection.GetIdleTicks - #55820
Conversation
ghost
commented
Jul 16, 2021
Tagging subscribers to this area: @dotnet/ncl Issue DetailsThere is currently a wrong operand order in the subtraction. Fixes #43877
|
alnikola
commented
Jul 16, 2021
/azp run runtime-libraries-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
geoffkizer
commented
Jul 19, 2021
Wow, thanks for catching this. Why didn't this surface sooner? I guess it's a weird one, because it would cause connections to be treated as idle when they weren't, but only if they had 0 active requests? I'm trying to figure out how to guard against this in the future. Seems like we should at least assert somewhere that the result of GetIdleTicks() is >= 0? |
It's really the opposite. In the broken version, a connection would never be treated as idle. This behavior failed the test that expected an idle connection to be removed. |
There is currently a wrong operand order in the subtraction.
Fixes#43877