# infinity-agent **Repository Path**: mirrors_floatdrop/infinity-agent ## Basic Information - **Project Name**: infinity-agent - **Description**: Creates HTTP/HTTPS Agent with Infinity maxSockets - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # infinity-agent [![Build Status](https://travis-ci.org/floatdrop/infinity-agent.svg?branch=master)](https://travis-ci.org/floatdrop/infinity-agent) Node-core HTTP Agent for userland. ## Usage ```js 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](https://github.com/floatdrop/infinity-agent/blob/master/http.js#L135-L140) method: basically we disable keepAlive if agent is not configured for it, and `maxSockets` is set to `Infinity`. ## License MIT © [Vsevolod Strukchinsky](floatdrop@gmail.com)