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

Automatic proxy #2475

Open
dmaliog opened this issue Jul 18, 2024 · 4 comments
Open

Automatic proxy #2475

dmaliog opened this issue Jul 18, 2024 · 4 comments
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request

Comments

@dmaliog
Copy link

dmaliog commented Jul 18, 2024

Add the ability to set a proxy that will automatically detect that there is no access to a file and try to use a proxy to bypass this limitation

@dmaliog dmaliog added Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request labels Jul 18, 2024
@dmaliog
Copy link
Author

dmaliog commented Jul 21, 2024

If yay sees a timeout, let him try to let it through a proxy

@Jguer
Copy link
Owner

Jguer commented Jul 26, 2024

I would not feel comfortable embedding proxies not set by the user, what stops you from running yay behind a proxy all the time?

@dmaliog
Copy link
Author

dmaliog commented Aug 13, 2024

I would not feel comfortable embedding proxies not set by the user, what stops you from running yay behind a proxy all the time?

If you work under it constantly, the speed will depend on the proxy, which can be much slower than the active connection. It is possible to simply check, for example, set http_proxy=0.0.0.0:0000 and check if these 2 conditions are met, then use a proxy during the timeout. If set is not found, then there is no need to use a proxy.

@freedom1b2830
Copy link

I also need this setting.
maybe make it in the file setting in the form key=value

host=type://proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request
Projects
None yet
Development

No branches or pull requests

3 participants