infinity-agent ![Build Status](https://camo.githubusercontent.com/50485797585fc9d09fedc9e6e688ec547a6aee770657b9d05a3b595feb9aa805/68747470733a2f2f7472617669732d63692e6f72672f666c6f617464726f702f696e66696e6974792d6167656e742e7376673f6272616e63683d6d6173746572)
Node-core HTTP Agent for userland.
Usage
var infinityAgent = require('infinity-agent');
var http = require('http');
var https = require('https');
http.get('http://google.com', {agent: infinityAgent.http.globalAgent});
https.get('http://google.com', {agent: infinityAgent.https.globalAgent});
This package is a mirror of the Agent class in Node-core.
There is one minor change in addRequest method: basically we disable keepAlive if agent is not configured for it, and maxSockets
is set to Infinity
.
License
MIT © Vsevolod Strukchinsky