umijs / umi

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

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

Open caltonzhou opened 7 months ago

caltonzhou commented 7 months 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 7 months ago

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

caltonzhou commented 7 months ago

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

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