http package does not resets token state by KeepAlive. So it will be not reconnected and still waiting...
Patch for http 2.7.10 attached.
Unfortunately, I have no test case for this. But it is understandable by patch.
reset keepalive connection patch
Donal, I think you know the http package better than I do. Is this the right way?
Just a note to say that I've seen that this is assigned to me, but it will take a few days to evaluate because of work pressures.
Understanding what the 'socketmap' variable actually maps between is rather harder than puzzling out what the patch does. In particular, I'm trying to figure out if the 'sockettokenmap' should be used as the inverse of 'socketmap', as if it should then there's code that should be simplified.
Proposed fix committed to "bug-3599789" branch.