feat(proxy): add HTTP/HTTPS proxy support via all_proxy#987
Merged
calmh merged 2 commits intosyncthing:mainfrom Apr 26, 2026
Merged
feat(proxy): add HTTP/HTTPS proxy support via all_proxy#987calmh merged 2 commits intosyncthing:mainfrom
calmh merged 2 commits intosyncthing:mainfrom
Conversation
Update the proxying documentation to reflect support for HTTP and HTTPS proxies in addition to SOCKS5. The documentation now describes: - Use of http:// and https:// proxy URLs via the all_proxy environment variable - Embedded basic authentication in proxy URLs - A warning when credentials are sent over cleartext HTTP proxies - Limitations of HTTP(S) proxies (outbound TCP only) Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
calmh
added a commit
to syncthing/syncthing
that referenced
this pull request
Apr 26, 2026
Register HTTP and HTTPS proxy dialers and implement CONNECT-based tunneling for HTTP proxies. The new dialer supports: - Plain HTTP proxies using CONNECT - HTTPS proxies by performing a TLS handshake before CONNECT - Optional basic authentication via Proxy-Authorization (with a warning when creds are used over cleartext HTTP) This allows all_proxy to be set to http:// or https:// URLs, enabling data transfer through HTTP(S) proxies. ### Purpose Allow peers to connect using HTTP Proxies (CONNECT) ### Testing Tested with both HTTP and HTTPS proxy connection, using both no auth and plain authentication. ### Screenshots No visual change ### Documentation syncthing/docs#987 ## Authorship Your name and email will be added automatically to the AUTHORS file based on the commit metadata. --------- Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Signed-off-by: Jakob Borg <jakob@kastelo.net> Co-authored-by: Jakob Borg <jakob@kastelo.net>
calmh
reviewed
Apr 26, 2026
calmh
approved these changes
Apr 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the proxying documentation to reflect support for HTTP and HTTPS proxies in addition to SOCKS5.
The documentation now describes:
(related to syncthing/syncthing#10572)