-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
src: fix off-thread cert loading in bundled cert mode #60764
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
base: main
Are you sure you want to change the base?
Conversation
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #60764 +/- ##
==========================================
+ Coverage 88.55% 88.56% +0.01%
==========================================
Files 703 703
Lines 208256 208260 +4
Branches 40147 40158 +11
==========================================
+ Hits 184427 184454 +27
+ Misses 15838 15812 -26
- Partials 7991 7994 +3
🚀 New features to boost your workflow:
|
https://redirect.github.com/nodejs/node/pull/59856 had an typo/mistake in the skip conditions so that it is skipping when --use-openssl-ca or --openssl-system-ca-path (configure time) are NOT used, even though they should be skipped only when those ARE used (which is not the default for default builds). This change fixes that so that the perf numbers in that PR is true for the default build.
e1e170d to
cae0df4
Compare
Aditi-1400
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| { | ||
| Mutex::ScopedLock cli_lock(node::per_process::cli_options_mutex); | ||
| if (!per_process::cli_options->ssl_openssl_cert_store) { | ||
| if (per_process::cli_options->ssl_openssl_cert_store) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding a comment to this line?
https://redirect.github.com/nodejs/node/pull/59856 had an typo/mistake in the skip conditions so that it is skipping when --use-openssl-ca or --openssl-system-ca-path (configure time) are NOT used, even though they should be skipped only when those ARE used (which is not the default for default builds). This change fixes that so that the perf numbers in that PR is true for the default build.
Thanks @deepak1556 for catching it!