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

proxy-chain

Package Overview
Dependencies
Maintainers
6
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-chain - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

9

build/handler_tunnel_chain.js

@@ -90,6 +90,11 @@ 'use strict';

// relinquish control of the `socket` from the ServerResponse instance
// It can happen that this.close() it called in the meanwhile, so this.srcSocket becomes null
// and the detachSocket() call below fails with "Cannot read property '_httpMessage' of null"
// See https://github.com/apifytech/proxy-chain/issues/63
if (this.isClosed) return;
// Relinquish control of the `socket` from the ServerResponse instance
this.srcResponse.detachSocket(this.srcSocket);
// nullify the ServerResponse object, so that it can be cleaned
// Nullify the ServerResponse object, so that it can be cleaned
// up before this socket proxying is completed

@@ -96,0 +101,0 @@ this.srcResponse = null;

@@ -66,2 +66,7 @@ 'use strict';

// It can happen that this.close() it called in the meanwhile, so this.srcSocket becomes null
// and the detachSocket() call below fails with "Cannot read property '_httpMessage' of null"
// See https://github.com/apifytech/proxy-chain/issues/63
if (this.isClosed) return;
// Relinquish control of the socket from the ServerResponse instance

@@ -68,0 +73,0 @@ this.srcResponse.detachSocket(this.srcSocket);

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

0.4.3 / 2020-03-08
===================
- Fixed unhandled `TypeError: Cannot read property '_httpMessage' of null` exception
in `HandlerTunnelChain.onTrgRequestConnect` (see Issue [#63](https://github.com/apifytech/proxy-chain/issues/63))
0.4.2 / 2020-02-28

@@ -2,0 +7,0 @@ ===================

{
"name": "proxy-chain",
"version": "0.4.2",
"version": "0.4.3",
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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