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

https-proxied

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

https-proxied - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

23

lib/https-proxied.js

@@ -121,3 +121,4 @@ var tls = require('tls');

socket.ondata = null;
parsers.free(parser);
socket.removeAllListeners('close');
parsers.free(parser);
if (cb) cb();

@@ -127,20 +128,4 @@ }

// socket.on('data', function(data) {
// response += data.toString();
// console.log('DATA', response)
// if (/^HTTP\/1\.\d 200/.exec(response)) {
// response = '';
// socket.removeAllListeners('data');
// parsers.free(parser);
// if (cb) cb();
// }
// })
socket.on('end', function() { console.log('end')})
socket.on('close', function() { console.log('close')})
socket.on('timeout', function() { console.log('timeout')})
socket.on('error', function(error) {
console.log(error.stack || error);
parsers.free(parser);
socket.on('close', function() {
parsers.free(parser);
})

@@ -147,0 +132,0 @@

2

package.json
{
"name": "https-proxied",
"version": "0.0.1",
"version": "0.0.2",
"description": "A https client that works with SSL proxies",

@@ -5,0 +5,0 @@ "engines": { "node": ">=0.4.0" },

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