infinity-agent
Advanced tools
Comparing version 2.0.2 to 2.0.3
11
http.js
@@ -8,6 +8,11 @@ 'use strict'; | ||
var debug; | ||
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) { | ||
debug = function(x) { console.error('HTTP: %s', x); }; | ||
if (util.debuglog) { | ||
debug = util.debuglog('http'); | ||
} else { | ||
debug = function() { }; | ||
debug = function (x) { | ||
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) { | ||
console.error('HTTP: %s', x); | ||
} | ||
}; | ||
} | ||
@@ -14,0 +19,0 @@ |
12
https.js
@@ -9,8 +9,12 @@ 'use strict'; | ||
var debug; | ||
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) { | ||
debug = function(x) { console.error('HTTPS: %s', x); }; | ||
if (util.debuglog) { | ||
debug = util.debuglog('https'); | ||
} else { | ||
debug = function() { }; | ||
debug = function (x) { | ||
if (process.env.NODE_DEBUG && /http/.test(process.env.NODE_DEBUG)) { | ||
console.error('HTTPS: %s', x); | ||
} | ||
}; | ||
} | ||
function createConnection(port, host, options) { | ||
@@ -17,0 +21,0 @@ if (port !== null && typeof port === 'object') { |
{ | ||
"name": "infinity-agent", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Creates HTTP/HTTPS Agent with Infinity maxSockets", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
10582
300
56529