joyent/node — pull request #3817 by jmatthewsr-ms (2012-08-03 18:41:33+00:00)
Title: Http Agent, allow free sockets to linger for re-use

The goal is to re-use connection:keep-alive sockets that are connected to a remote endpoint. Outbound http requests could use one of these sockets instead of creating a new connection. The current re-use logic will only re-use a connection if requests to a particular endpoint have exceeded the max value and are queued waiting to be sent.