Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于代理自动失效不自动恢复的问题 #395

Open
MmToon opened this issue Oct 30, 2024 · 0 comments
Open

关于代理自动失效不自动恢复的问题 #395

MmToon opened this issue Oct 30, 2024 · 0 comments

Comments

@MmToon
Copy link

MmToon commented Oct 30, 2024

创建一个全局变量client并设置代理的情况下
var client = req.C().SetProxyURL("...")

如果代理服务器先关闭,仍可以跳过代理直接请求成功。
即使代理服务器恢复正常,也不会自动生效代理,如何强制使用代理?

难道每次请求前都要SetProxyURL一次或者重新创建含有代理的client吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant