tls: ignore a terminal dot when matching SNI contexts #67639
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.52) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 69 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.254
Sensitive Paths
sensitive_paths
0.052
Real PR Conversation Timeline
1 comments
"Review active on #67639"
general
weight: 0.35
pimterry
server.addContext()and the SNI callback compared the names as written, so a client sendinghost.example.(with a terminal dot) did not match a context registered forhost.example, and vice versa, although both names refer to the same host. Remove one terminal dot from both sides before matching so the same context is selected.Testing: added
test/parallel/test-tls-sni-trailing-dot.js(TLSv1.2 and TLSv1.3, exact and wildcard names, with and without the terminal dot). Theparallel/test-tls-andparallel/test-https-suites and eslint pass.