Skip to content

Use nodejs http and https proxy support#715

Merged
jkoenig134 merged 19 commits into
release/v7from
use-nodejs-http-and-https-proxy-support
Sep 9, 2025
Merged

Use nodejs http and https proxy support#715
jkoenig134 merged 19 commits into
release/v7from
use-nodejs-http-and-https-proxy-support

Conversation

@jkoenig134
Copy link
Copy Markdown
Contributor

@jkoenig134 jkoenig134 commented Aug 15, 2025

Readiness checklist

  • I added/updated tests.
  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.
  • I self-reviewed the PR.

Description

https://nodejs.org/api/http.html#built-in-proxy-support

Uses ts-expect-error as @types/node doesn't defines the proxy members.

@jkoenig134 jkoenig134 added the breaking-change A breaking change label Aug 15, 2025
@jkoenig134 jkoenig134 added the wip Work in Progress (blocks mergify from auto update the branch) label Aug 28, 2025
@jkoenig134 jkoenig134 requested a review from britsta September 9, 2025 08:21
@jkoenig134 jkoenig134 removed the wip Work in Progress (blocks mergify from auto update the branch) label Sep 9, 2025
@jkoenig134 jkoenig134 enabled auto-merge (squash) September 9, 2025 08:22
@jkoenig134
Copy link
Copy Markdown
Contributor Author

Can be tested against the squid proxy:

> docker run -d --name squid -e TZ=UTC -p 3128:3128 ubuntu/squid:5.2-22.04_beta
> export http_proxy=http://localhost:3128
> export https_proxy=http://localhost:3128
> cd packages/transport
> npm run test:local:lokijs

Make sure to not tests against the local backbone as squid is not able to reach it.

@jkoenig134 jkoenig134 merged commit 913bb80 into release/v7 Sep 9, 2025
25 of 26 checks passed
@jkoenig134 jkoenig134 deleted the use-nodejs-http-and-https-proxy-support branch September 9, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change A breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants