proxying-agent
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -19,3 +19,2 @@ 'use strict'; | ||
this.options.port = this.options.proxy.port; | ||
this.options.agent = http.globalAgent; | ||
@@ -25,5 +24,7 @@ // select the Agent type to use based on the proxy protocol | ||
this.agent = https.Agent; | ||
this.options.agent = https.globalAgent; | ||
this.options.port = this.options.port || 443; | ||
} else { | ||
this.agent = http.Agent; | ||
this.options.agent = http.globalAgent; | ||
this.options.port = this.options.port || 80; | ||
@@ -30,0 +31,0 @@ } |
{ | ||
"name": "proxying-agent", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Node HTTP/HTTPS Forward Proxy Agent", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
10834
232