summaryrefslogtreecommitdiff
path: root/src/spawn_sync.h
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-10-13 00:59:35 -0400
committercjihrig <cjihrig@gmail.com>2018-10-17 12:51:20 -0400
commitb94ce575f57fa883b93ce8948730577a9bde8603 (patch)
treef23776c5e00f737c8c7f2a9474f5ad3cc1024d11 /src/spawn_sync.h
parente2f58c71ddf0f91256cc85e6bb226a068256c5eb (diff)
downloadandroid-node-v8-b94ce575f57fa883b93ce8948730577a9bde8603.tar.gz
android-node-v8-b94ce575f57fa883b93ce8948730577a9bde8603.tar.bz2
android-node-v8-b94ce575f57fa883b93ce8948730577a9bde8603.zip
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.h')
0 files changed, 0 insertions, 0 deletions