Skip to content

Enable socks proxy support#3

Merged
MattiasBuelens merged 2 commits into
THEOplayer:mainfrom
dominics:enable-socks-proxy
Mar 13, 2026
Merged

Enable socks proxy support#3
MattiasBuelens merged 2 commits into
THEOplayer:mainfrom
dominics:enable-socks-proxy

Conversation

@dominics

Copy link
Copy Markdown
Contributor

By enabling the "socks" feature of reqwest, we can use a SOCKS proxy

To actually use the proxy, you'd use the standard ALL_PROXY env var that is already supported. For example:

ssh -D 12345 user@host # and, in another shell:
ALL_PROXY=socks5://127.0.0.1:12345 cargo run -- record https://example.com/index.m3u8 /tmp/foo

@MattiasBuelens MattiasBuelens merged commit f58a455 into THEOplayer:main Mar 13, 2026
7 checks passed
@MattiasBuelens

Copy link
Copy Markdown
Contributor

Thanks! 😄

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.

2 participants