Skip to content

Conversation

urugator
Copy link
Contributor

Rationale

EnvHttpProxyAgent.Options extends from Agent.Options, so it's not possible to pass ProxyAgent.Options such as requestTls to the EnvHttpProxyAgent constructor.

Changes

EnvHttpProxyAgent.Options extends Omit<ProxyAgent.Options, 'uri'>.
uri is omitted, because it's provided by EnvHttpProxyAgent.

Features

N/A

Bug Fixes

It's not possible to pass requestTls (and others) to the EnvHttpProxyAgent constructor.

Breaking Changes and Deprecations

Status

@metcoder95
Copy link
Member

Can you add some tests to it?

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit 30b833f into nodejs:main Jun 26, 2025
29 of 31 checks passed
@github-actions github-actions bot mentioned this pull request Jun 26, 2025
Uzlopak pushed a commit that referenced this pull request Jun 27, 2025
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.

3 participants