Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-10-01 22:17:51 +0300
committerFedor Indutny <fedor@indutny.com>2016-10-04 02:44:53 +0300
commitd33c4bf97b68dbae83a1d456f7b34a91b1583666 (patch)
tree01499960a491d787e97d4edb2d22ef9311478fb1 /src/util.h
parent2cfd7fd8f9a2206a0cce0e9f6fa92850fbdbb4e3 (diff)
tls: handle `error` events with `_tlsError`
Previously `TLSSocket#_emitTLSError` was used as an `error` event handler. However that function can emit `error` event itself, so it is not suitable for such use. Luckily the event can be emitted only when the control is released, so this looping-error can't happen. Replace the error handler for clarity and correctness. PR-URL: https://github.com/nodejs/node/pull/8889 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/util.h')
0 files changed, 0 insertions, 0 deletions