mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
http: Fix overlooked agent.globalAgent export
Noticed by @bnoordhuis in https://github.com/joyent/node/pull/5991#discussion_r5575946
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user