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

grpc-js: Don't pass undefined checkServerIdentity #1970

Merged

Conversation

murgatroid99
Copy link
Member

This is a fix for #1968. Unconditionally setting the option to verifyOptions?.checkServerIdentity sets the value to undefined if the original value is unset. Node (at least in version 10) asserts that the value is a function if it is set, so this causes an assertion error.

@murgatroid99 murgatroid99 merged commit 2e008d1 into grpc:master Nov 17, 2021
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.

None yet

2 participants