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

support socks5 proxy #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

support socks5 proxy #38

wants to merge 1 commit into from

Conversation

zh4n7wm
Copy link

@zh4n7wm zh4n7wm commented Dec 8, 2022

No description provided.

@m1guelpf
Copy link
Owner

I'm confused, doesn't Go automatically inherit the computer's proxy settings? If not, could we make it do that instead?

@xros
Copy link

xros commented Dec 11, 2022

I'm confused, doesn't Go automatically inherit the computer's proxy settings? If not, could we make it do that instead?

No, for some scenarios, we need a proxy client program running on a Linux/MacOS/Windows server, and the program will only open a certain port locally for passing through censored internet. And Go doesn't inherit the computer's proxy settings automatically. For some servers located in the U.S., there will be some issues for connecting to the Telegram API. Sometimes connection could be lost, sometimes DNS failures. We can use a proxy server located in another country to pass through the Internet censorship in the U.S..

Copy link
Owner

@m1guelpf m1guelpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you rebase the recent changes?

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

Successfully merging this pull request may close these issues.

None yet

3 participants