🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ssltunnel

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssltunnel - npm Package Compare versions

Comparing version

to
0.1.5

certs/cc_private.pem

24

lib/ssltunnel.js

@@ -127,10 +127,2 @@ var tls = require('tls');

// check that we got no errors
serviceSocket.on("error", function (exception) {
log(Log.info,'Can\'t open socket to the server. Error: ' + JSON.stringify(exception));
proxySocket.end();
});
// on connect (for ssltunnel server)

@@ -150,2 +142,18 @@ serviceSocket.on("connect", function () {

// check that we got no errors when talking to the server
serviceSocket.on("error", function (exception) {
log(Log.info,'Error communicating with the server. Error: ' + JSON.stringify(exception));
proxySocket.end();
});
// check that we got no errors when talking to the client
proxySocket.on("error", function (exception) {
log(Log.info,'Error communicating with the client. Error: ' + JSON.stringify(exception));
serviceSocket.end();
});
// print diagnostics when connection to server ends

@@ -152,0 +160,0 @@ serviceSocket.on("end", function () {

@@ -5,3 +5,3 @@ {

"description": "TCP over SSL / TLS tunnel",
"version": "0.1.4",
"version": "0.1.5",
"homepage": "https://github.com/anodejs/node-ssltunnel",

@@ -8,0 +8,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet