global-tunnel-ng
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -217,2 +217,3 @@ /* jshint node:true */ | ||
var _makeAgent = function(conf, innerProtocol, useCONNECT) { | ||
debug('Creating proxying agent'); | ||
var outerProtocol = conf.protocol; | ||
@@ -284,2 +285,3 @@ innerProtocol += ':'; | ||
return function(options, callback) { | ||
debug('Requesting'); | ||
if (typeof options === 'string') { | ||
@@ -286,0 +288,0 @@ options = urlParse(options); |
@@ -9,3 +9,3 @@ /* jshint node:true */ | ||
var HttpsAgent = https.Agent; | ||
var debug = require('debug')('global-tunnel:agent'); | ||
var debug = require('debug')('global-tunnel'); | ||
@@ -12,0 +12,0 @@ var pick = require('lodash/pick'); |
{ | ||
"name": "global-tunnel-ng", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Global HTTP & HTTPS tunneling", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -400,2 +400,3 @@ 'use strict'; | ||
delete process.env.http_proxy; | ||
assert.isUndefined(process.env.http_proxy); | ||
}); | ||
@@ -402,0 +403,0 @@ |
117056
2994
13