proxy-chain
proxy-chain copied to clipboard
Node.js implementation of a proxy server (think Squid) with support for SSL, authentication and upstream proxy chaining.
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.29.0 to 5.33.0. Release notes Sourced from @typescript-eslint/eslint-plugin's releases. v5.33.0 5.33.0 (2022-08-08) Bug Fixes eslint-plugin: [no-extra-parens] handle await with type assertion (#5428) (e03826f) website: add explicit frontmatter...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.29.0 to 5.33.0. Release notes Sourced from @typescript-eslint/parser's releases. v5.33.0 5.33.0 (2022-08-08) Bug Fixes eslint-plugin: [no-extra-parens] handle await with type assertion (#5428) (e03826f) website: add explicit frontmatter...
https://github.com/apify/proxy-chain/blob/4fe3e2b3bfdbc55ae5d1419e62ce5dbc68313b7a/src/custom_response.ts#L7
The previous example doesn't set the port and the code fallback to the DEFAULT_PROXY_SERVER_PORT no random port in this configuration. Another patch is possible `port: 0` but is less explicit....
Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.2 to 14.0.0. Changelog Sourced from sinon's changelog. 14.0.0 c2bbd826 Drop node 12 (Morgan Roderick) And embrace Node 18 See https://nodejs.org/en/about/releases/ Released by Morgan Roderick on 2022-05-07....
Is it possible to switch the upstream proxy host without restarting the server? I'm currently using the `anonymizeProxy` helper like so: ``` const proxyChain = require('proxy-chain'); const user = '...';...
It only supports web sockets via HTTP CONNECT method (used e.g. with SSL). The unit tests (`testWsCall()`) only test for that too. We should add full support for HTTP UPGRADE...
Added example for http socks proxy request. https is still todo... For the demo I removed isHttp could be just path with http://132.323.23.23
Simply modified your code on handler_forward.js ``` // custom `http.Agent` support, set `server.httpAgent` if (!!this.server.httpAgent) reqOpts.agent = this.server.httpAgent; ``` And in server.js in constructor add `this.httpAgent = options.httpAgent;` Then, if...