Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…roxy

closes #80
Conflicts:
	lib/node-http-proxy.js
  • Loading branch information
dominictarr committed Aug 2, 2011
2 parents e6ff8d6 + 2caa5d2 commit 604ed28
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/node-http-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 604ed28

Please sign in to comment.