closes #80
Conflicts:
	lib/node-http-proxy.js
This commit is contained in:
Dominic Tarr 2011-08-03 00:06:08 +10:00
commit 604ed2878d

View File

@ -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];