diff options
author | cjihrig <cjihrig@gmail.com> | 2018-10-13 00:59:35 -0400 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-11-29 11:38:56 -0500 |
commit | ed0a97a52446c1fa6a9cc006ce647983b669785f (patch) | |
tree | 3fbe95bdbfdc47631c4c52f92dbdfcb7e4acd8bf /src/spawn_sync.cc | |
parent | 4b98ff299d3ff29c02cf68eecae38973efcc894b (diff) | |
download | node-new-ed0a97a52446c1fa6a9cc006ce647983b669785f.tar.gz |
tls: prevent multiple connection errors
onConnectEnd(), which is called by TLSSocket, has a guard to
prevent being called multiple times, but it does not prevent the
OpenSSL error handler from being called, leading to multiple
error events. This commit adds that piece of missing logic.
PR-URL: https://github.com/nodejs/node/pull/23636
Fixes: https://github.com/nodejs/node/issues/23631
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/spawn_sync.cc')
0 files changed, 0 insertions, 0 deletions