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

Auto try anothor ip proxy when the current ip is disabled. #42

Closed
elliotgao2 opened this issue Apr 11, 2018 · 1 comment
Closed

Auto try anothor ip proxy when the current ip is disabled. #42

elliotgao2 opened this issue Apr 11, 2018 · 1 comment

Comments

@elliotgao2
Copy link

我的设置: {'https': '127.0.0.1:3128', 'http': '127.0.0.1:3128'}
每次访问外网ip都会自动切换,但是有一个问题,如果当前代理ip已经失效或者请求错误,并没有自动尝试切换为可用ip的能力.

我想要的效果是:当我使用127.0.0.1:3128作为代理时,如果后端代理ip失效,自动切换其它代理ip,保证我的应用能收到正确的返回.

@ResolveWang
Copy link
Member

你好,如果使用 squid 作为代理服务中间件的话,有的时候是不会做错误ip剔除的,这个需求无法通过squid来解决,只能通过 py_cli.py来做。具体可以看看 issue38

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

2 participants