proxy-chain
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -53,2 +53,4 @@ 'use strict'; | ||
var targetHost = this.trgParsed.hostname + ':' + this.trgParsed.port; | ||
var options = { | ||
@@ -58,4 +60,6 @@ method: 'CONNECT', | ||
port: this.upstreamProxyUrlParsed.port, | ||
path: this.trgParsed.hostname + ':' + this.trgParsed.port, | ||
headers: {} | ||
path: targetHost, | ||
headers: { | ||
Host: targetHost | ||
} | ||
}; | ||
@@ -62,0 +66,0 @@ |
@@ -0,1 +1,5 @@ | ||
0.2.6 / 2018-12-27 | ||
=================== | ||
- Bugfix: Added `Host` header to `HTTP CONNECT` requests to upstream proxies | ||
0.2.5 / 2018-09-10 | ||
@@ -2,0 +6,0 @@ =================== |
{ | ||
"name": "proxy-chain", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
118331
1815