joyent/node — pull request #4465 by mqli (2012-12-25 05:05:27+00:00)
Title: Update lib/http.js

can't not setup a global http/https agent by this:
http.globalAgent = new SomeAgent()
because the default agent will always be the original agent object
so that has to pass the agent ref everytime use http api
change the 'globalAgent' to 'exports.globalAgent' will make globalAgent
more flexable with not changing the default behaver