summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorOuyang Yadong <oyydoibh@gmail.com>2018-10-07 21:18:15 +0800
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-10-12 05:17:22 +0200
commite4dea40ce779ae03a77c194074e5aa06a8a28a78 (patch)
tree8d47b65806471bd26ef70db3fec35ceb6a44a9c1 /src/node_crypto.h
parent7cc0b3cad556e6a8306861bbf478f21a50f9b24c (diff)
downloadandroid-node-v8-e4dea40ce779ae03a77c194074e5aa06a8a28a78.tar.gz
android-node-v8-e4dea40ce779ae03a77c194074e5aa06a8a28a78.tar.bz2
android-node-v8-e4dea40ce779ae03a77c194074e5aa06a8a28a78.zip
tls: make StreamWrap work correctly in "drain" callback
When an instance of StreamWrap is shutting down and a "drain" event is emitted, the instance will abort as its `this[kCurrentShutdownRequest]` is already set. The following test will fail before this commit. PR-URL: https://github.com/nodejs/node/pull/23294 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'src/node_crypto.h')
0 files changed, 0 insertions, 0 deletions