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

Add support for SOCKS5 proxy when fetching URL previews #616

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

Conversation

PseudoResonance
Copy link

This commit adds simple support for using Go's x/net/proxy package to optionally pass all URL preview traffic through a configured SOCKS5 proxy. This allows easy segmentation of the normal Matrix traffic from URL preview traffic, or the use of a proxy to access the wider internet, without affecting connections between MMR and the homeserver.

Hopefully, as not much code was adjusted, this is simple enough to maintain that it wouldn't cause issues despite being a bit out of scope.

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.

1 participant