Commit 604ed287 authored by Dominic Tarr's avatar Dominic Tarr

Merge branch 'patch-1' of https://github.com/KimSchneider/node-http-proxy

closes #80
Conflicts:
	lib/node-http-proxy.js
parents e6ff8d65 2caa5d2b
......@@ -59,11 +59,12 @@ function _getAgent (host, port, secure) {
if (!_agents[id]) {
Agent = secure ? https.Agent : http.Agent;
_agents[id] = new Agent({
host: host,
port: port,
maxSockets: maxSockets
_agents[id] = new Agent({
host: host,
port: port
});
_agents[id].maxSockets = maxSockets;
}
return _agents[id];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment