New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.1.4 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

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