tls: fix legacy SecurePair clienthello race window · nodejs/node@7573b55 · GitHub
Skip to content

Commit 7573b55

Browse files
bnoordhuisBethGriggs
authored andcommitted
tls: fix legacy SecurePair clienthello race window
There is a time window between the first and the last step of processing the clienthello event and the SecurePair may have been destroyed during that interval. Fixes: #26428 PR-URL: #26452 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
1 parent 91620b8 commit 7573b55

2 files changed

Lines changed: 84 additions & 0 deletions

File tree

lib/_tls_legacy.js

Lines changed: 4 additions & 0 deletions
Lines changed: 80 additions & 0 deletions

0 commit comments

Comments
 (0)