umijs / umi

A framework in react community ✨
https://umijs.org
MIT License
15.43k stars 2.66k forks source link

[Feature Request] support http-proxy-middleware sending request via socks5-proxy-agent #11842

Open caltonzhou opened 1 year ago

caltonzhou commented 1 year ago

Background

Now the proxy config is not compatible with a agent.

Proposal

Support proxy sending request via agents.

Additional context

As mentioned above.

fz6m commented 1 year ago

有其他需求尽量在本机层面做代理吧,用 charles ,whistle,switch omega 等工具。

caltonzhou commented 1 year ago

有其他需求尽量在本机层面做代理吧,用 charles ,whistle,switch omega 等工具。

Thanks. It doesn’t work perfectly in this reverse proxy case.