Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.
floatdropPublic archive

About

Creates HTTP/HTTPS Agent with Infinity maxSockets

Resources

Stars

11 stars

Watchers

0 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

infinity-agent Build Status

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

About

Creates HTTP/HTTPS Agent with Infinity maxSockets

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages