Skip to content

fix(sync): keep a system proxy away from plain HTTP stores - #445

Merged
A-EDev merged 3 commits into
mainfrom
fix/sync2-private-http-proxy
Nov 8, 2026
Merged

A-EDev merged 3 commits into
mainfrom
fix/sync2-private-http-proxy

Conversation

@A-EDev

@A-EDev A-EDev commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Plain HTTP to a private address or a .local name is allowed only because that address was checked. With a system proxy set, reqwest sent those requests to the proxy instead. Clients for plain-HTTP stores now use .no_proxy(). HTTPS stores still follow the system proxy.

Related issue

None.

Change type

  • Bug fix

Validation

  • cargo fmt --all: run before committing.

  • cargo test --test sync2_http_proxy in src-tauri: 1 passed. With .no_proxy() taken out it fails with "the request went through the proxy".

  • cargo test --test sync2_server --test sync2_webdav: 17 and 19 passed.

  • CI runs the full suite on this PR.

  • Only the proxy environment variables were run. A proxy set in OS settings was not.

  • Not smoke-tested in a window or on a device.

Risk and compatibility

A setup that could reach a private store only through a proxy no longer can. That is what the spec's rule asks for.

  • No new secrets, private data, telemetry, or broad Tauri permissions were introduced.

Copilot AI balanced review requested due to automatic review settings November 7, 2026 13:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@A-EDev
A-EDev merged commit 1b9571d into main Nov 8, 2026
7 checks passed
@A-EDev
A-EDev deleted the fix/sync2-private-http-proxy branch November 8, 2026 18:50
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