Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tls.checkServerIdentity cannot be undefined #1639

Closed
wants to merge 1 commit into from
Closed

fix: tls.checkServerIdentity cannot be undefined #1639

wants to merge 1 commit into from

Conversation

robertrossmann
Copy link

If this configuration option is provided explicitly and is not a function (ie. the intention was to "use default value") this assertion will not pass because Node applies default values to the configuration options via prototypal inheritance, however the property lookup will stop immediately because the checkServerIdentity property actually exists on the provided object (with a value of undefined).

Related: #1444

If this configuration option is provided explicitly and is not a function (ie. the intention was to "use default value") this assertion will not pass because Node applies default values to the configuration options via prototypal inheritance, however the property lookup will stop immediately because the `checkServerIdentity` property actually exists on the provided object (with a value of `undefined`).
@robertrossmann
Copy link
Author

Oh, closing as duplicate of #1638.

@robertrossmann robertrossmann deleted the patch-1 branch May 7, 2018 14:47
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.

1 participant