https-proxied
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -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 @@ |
{ | ||
"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" }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13780
193