Created by: isaacs
We saw the memory usage of the http proxy servers in no.de climb way up past normal levels after fixing the crash-inducing socket termination throws. (Incidentally, that error was preventing this one from occurring.)
The attached patch makes sure to destroy the buffered request, and unhook event listeners, when there is an error. So far today, the memory usage on the proxy with this patch has been stable. The others continue to rise, occasionally hitting the point where they get forcibly HUP'ed.