nodejitsu/node-http-proxy — pull request #679 by unilaterus (2014-08-14 17:15:15+00:00)
Title: Added functionality to close proxy.

Added function to wrap closing the internal server. This function accepts an optional callback. The close will immediately cause proxy to stop listening on its current port but it will not close any pre-existing connections. Once all open connections are closed it will execute the given callback if one was supplied.

Closes issue: https://github.com/nodejitsu/node-http-proxy/issues/675