Skip to content

feat(ext/fetch): add per-client proxy modes - #37256

Open
RealThanhNguyxn wants to merge 1 commit into
denoland:mainfrom
RealThanhNguyxn:feature/http-client-proxy-modes
Open

RealThanhNguyxn wants to merge 1 commit into
denoland:mainfrom
RealThanhNguyxn:feature/http-client-proxy-modes

Conversation

@RealThanhNguyxn

Copy link
Copy Markdown

Closes #28385.

Deno.createHttpClient({ proxy: "disable" }) connects directly without
using environment proxy settings. Omitting proxy or setting it to
"inherit" uses the existing environment configuration. Explicit proxy
objects still work as before.

The new spec uses local HTTP servers to check which endpoint each mode
reaches.

Validation: The debug build, formatting, lint, and the new spec passed.
The broader proxy selection passed 10 of 11 specs locally. The existing
all_proxy vsock spec timed out with both the debug build and unmodified
Deno 2.9.8 in this environment.

@CLAassistant

CLAassistant commented Dec 1, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

This branch has not been deployed

No deployments
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.

An option to disable proxy in Deno.CreateHttpClientOptions

2 participants