http: Fix overlooked agent.globalAgent export

Noticed by @bnoordhuis in https://github.com/joyent/node/pull/5991#discussion_r5575946
This commit is contained in:
isaacs
2013-08-05 12:33:19 -07:00
parent 222e5239fc
commit 32fdae2ca3
2 changed files with 3 additions and 2 deletions

View File

@@ -42,8 +42,7 @@ exports.STATUS_CODES = server.STATUS_CODES;
var agent = require('_http_agent');
var Agent = exports.Agent = agent.Agent;
var globalAgent = new Agent();
exports.globalAgent = globalAgent;
var globalAgent = exports.globalAgent = agent.globalAgent;
var client = require('_http_client');
var ClientRequest = exports.ClientRequest = client.ClientRequest;