Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

agentkeepalive

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agentkeepalive - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

3

lib/agent.js

@@ -83,4 +83,3 @@ /**!

count += self.sockets[name].length;
if (count >= self.maxSockets || freeLen >= self.maxFreeSockets) {
if (count > self.maxSockets || freeLen >= self.maxFreeSockets) {
self.removeSocket(socket, options);

@@ -87,0 +86,0 @@ socket.destroy();

{
"name": "agentkeepalive",
"version": "0.2.3",
"version": "0.2.4",
"description": "Missing keepalive http.Agent",
"main": "index.js",
"directories": {
"test": "test"
},
"files": [
"index.js", "lib/"
],
"scripts": {
"test": "make test-all",
"blanket": { "pattern": "agentkeepalive/lib" },
"travis-cov": { "threshold": 92 }
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/TBEDP/agentkeepalive.git"
"url": "git://github.com/node-modules/agentkeepalive.git"
},
"bugs": {
"url": "https://github.com/TBEDP/agentkeepalive/issues"
"url": "https://github.com/node-modules/agentkeepalive/issues"
},

@@ -24,3 +22,4 @@ "keywords": [

"agent",
"keepalive"
"keepalive",
"agentkeepalive"
],

@@ -30,11 +29,7 @@ "devDependencies": {

"mocha": "*",
"pedding": "*",
"blanket": "*",
"travis-cov": "*",
"coveralls": "*",
"mocha-lcov-reporter": "*"
"pedding": "*"
},
"engines": { "node": ">= 0.8.0" },
"author": "fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com)",
"engines": { "node": "0.10.x" },
"author": "fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)",
"license": "MIT"
}

@@ -1,6 +0,6 @@

# agentkeepalive [![Build Status](https://secure.travis-ci.org/TBEDP/agentkeepalive.png?branch=master)](http://travis-ci.org/TBEDP/agentkeepalive) [![Coverage Status](https://coveralls.io/repos/TBEDP/agentkeepalive/badge.png)](https://coveralls.io/r/TBEDP/agentkeepalive)
# agentkeepalive
![logo](https://raw.github.com/TBEDP/agentkeepalive/master/logo.png)
[![Build Status](https://secure.travis-ci.org/node-modules/agentkeepalive.png?branch=0.2.x)](http://travis-ci.org/node-modules/agentkeepalive)
The nodejs's missing `keep alive` `http.Agent`. Support `http` and `https`.
The Node.js's missing `keep alive` `http.Agent`. Support `http` and `https`.

@@ -10,3 +10,3 @@ ## Install

```bash
$ npm install agentkeepalive
$ npm install agentkeepalive --save
```

@@ -152,24 +152,2 @@

## Authors
Below is the output from `git-summary`.
```
$ git summary
project : agentkeepalive
repo age : 1 year, 3 months
active : 17 days
commits : 36
files : 26
authors :
34 fengmk2 94.4%
2 Will White 5.6%
```
Ordered by date of first contribution.
- [fengmk2](https://github.com/fengmk2)
- [Will White](https://github.com/willwhite)
## License

@@ -179,3 +157,3 @@

Copyright (c) 2012 - 2013 fengmk2 <fengmk2@gmail.com>;
Copyright (c) 2012 - 2015 fengmk2 <fengmk2@gmail.com>;

@@ -182,0 +160,0 @@ Permission is hereby granted, free of charge, to any person obtaining

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc