Hi, I'm looking into this since I'm trying to go through outstanding issues.
It looks like in the original issue Noel is instantiating an Http instance per-request. I'm making the assumption
that you're using databinder dispatch or something similar but unless I'm misunderstanding
something that'll create a connection pool per request - which under any significant amount of load will cause
you to reach the file descriptor limit. So, that's almost certainly not a good idea.
That said, if the cleanup logic is broken, that is indeed a problem. The interesting bit for me just looking at this
code it that the "unused request var" alert that gets logged in dev mode has behaved as expected in my
experience. I suspect this related to our use of doWith when pulling those cleanup functions out.
That said, can anyone advocate for the importance of this functionality in vars? I've never had cause to use
it either, which makes me wonder if it's actually needed or if it's something we can nuke.