Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Converting test to use Countdown #17505
Affected core subsystem(s)
Thanks for the contribution @TomerOmri. Since this is using Countdown now, it should be possible to refactor such that the
responses counters are no longer necessary.
Since there's always only one
makeRequest in progress, we could for example use something like this in
response = SERVER_RESPONSES.shift(); shouldKeepAlive = SHOULD_KEEP_ALIVE.shift();
shouldKeepAlive are declared in the top scope (and can then be used within both the client handler and the server one).