Skip to content

fix(outgoing-opts): preference for values in ssl - #1504

Open
stanleynguyen wants to merge 1 commit into
http-party:masterfrom
stanleynguyen:patch-1
Open

stanleynguyen wants to merge 1 commit into
http-party:masterfrom
stanleynguyen:patch-1

Conversation

@stanleynguyen

@stanleynguyen stanleynguyen commented Feb 2, 2021 •

Copy link
Copy Markdown

Preventing overwriting by undefined first-layer key from the main options
Resolves #1503

Preventing overwriting of undefined first-layer key from the main options
@pi0 pi0 mentioned this pull request Sep 1, 2023
21 of 58 tasks
pi0 added a commit to unjs/httpxy that referenced this pull request Mar 25, 2026
When `setupOutgoing` copies properties like `cert`, `key`, `ca` from the
target object, undefined values would overwrite existing ssl options passed
via `options.ssl`. Skip assignment when the target value is undefined.

Upstream: http-party/node-http-proxy#1504
pi0 added a commit to unjs/httpxy that referenced this pull request Mar 25, 2026
#118)

When `setupOutgoing` copies properties like `cert`, `key`, `ca` from the
target object, undefined values would overwrite existing ssl options passed
via `options.ssl`. Skip assignment when the target value is undefined.

Upstream: http-party/node-http-proxy#1504
@pi0

pi0 commented Mar 25, 2026

Copy link
Copy Markdown

This issue has been fixed in unjs/httpxy#118.

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.

Outgoing SSL options overwritten by undefined values from main options

2 participants