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

tunnel

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tunnel - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

.travis.yml

3

CHANGELOG.md
# Changelog
- 0.0.5 (2017/06/12)
- Fix socket leak.
- 0.0.4 (2016/01/23)

@@ -4,0 +7,0 @@ - supported Node v0.12 or later.

@@ -150,2 +150,3 @@ 'use strict';

res.statusCode);
socket.destroy();
var error = new Error('tunneling socket could not be established, ' +

@@ -152,0 +153,0 @@ 'statusCode=' + res.statusCode);

4

package.json
{
"name": "tunnel",
"version": "0.0.4",
"version": "0.0.5",
"description": "Node HTTP/HTTPS Agents for tunneling proxies",

@@ -25,3 +25,3 @@ "keywords": [

"scripts": {
"test": "./node_modules/mocha/bin/mocha"
"test": "mocha"
},

@@ -28,0 +28,0 @@ "devDependencies": {

# node-tunnel - HTTP/HTTPS Agents for tunneling proxies
[![Build Status](https://img.shields.io/travis/koichik/node-tunnel.svg?style=flat)](https://travis-ci.org/koichik/node-tunnel)
[![Dependency Status](http://img.shields.io/david/koichik/node-tunnel.svg?style=flat)](https://david-dm.org/koichik/node-tunnel#info=dependencies)
[![DevDependency Status](http://img.shields.io/david/dev/koichik/node-tunnel.svg?style=flat)](https://david-dm.org/koichik/node-tunnel#info=devDependencies)
## Example

@@ -32,3 +36,3 @@

var tunnelingAgent = tunnel.httpOverHttp({
maxSockets: poolSize, // Defaults to 5
maxSockets: poolSize, // Defaults to http.Agent.defaultMaxSockets

@@ -61,3 +65,3 @@ proxy: { // Proxy settings

var tunnelingAgent = tunnel.httpsOverHttp({
maxSockets: poolSize, // Defaults to 5
maxSockets: poolSize, // Defaults to http.Agent.defaultMaxSockets

@@ -97,3 +101,3 @@ // CA for origin server if necessary

var tunnelingAgent = tunnel.httpOverHttps({
maxSockets: poolSize, // Defaults to 5
maxSockets: poolSize, // Defaults to http.Agent.defaultMaxSockets

@@ -136,3 +140,3 @@ proxy: { // Proxy settings

var tunnelingAgent = tunnel.httpsOverHttps({
maxSockets: poolSize, // Defaults to 5
maxSockets: poolSize, // Defaults to http.Agent.defaultMaxSockets

@@ -180,2 +184,4 @@ // CA for origin server if necessary

* [Aleksis Brezas (abresas)](https://github.com/abresas)
* [Jackson Tian (JacksonTian)](https://github.com/JacksonTian)
* [Dmitry Sorin (1999)](https://github.com/1999)

@@ -182,0 +188,0 @@ ## License

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