Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Proxy Headers get lost here. #35

Open
mlattanzio opened this issue Nov 29, 2018 · 0 comments
Open

Proxy Headers get lost here. #35

mlattanzio opened this issue Nov 29, 2018 · 0 comments

Comments

@mlattanzio
Copy link

var connectOptions = mergeOptions({}, self.proxyOptions, {

mergeOptions leaves the proxyOptions.headers behind and they don't get send to the proxy server.

An ugly example fix would be
Object.assign(connectOptions.headers, self.proxyOptions.headers)
on the following line

gabi-250 added a commit to gabi-250/node-tunnel that referenced this issue May 12, 2021
gabi-250 added a commit to gabi-250/node-tunnel that referenced this issue May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant