summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-11-26 01:50:04 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-26 01:51:05 +0100
commit121ed91331b015fa287b07a8270fd4e653d3173d (patch)
tree17c35a471b9bd971f2ff34af115ba8cf89613eb9 /doc
parent4cb17cb219b3a2540b40458ed253695b3626a803 (diff)
downloadnodejs-121ed91331b015fa287b07a8270fd4e653d3173d.tar.gz
nodejs-121ed91331b015fa287b07a8270fd4e653d3173d.tar.bz2
nodejs-121ed91331b015fa287b07a8270fd4e653d3173d.zip
tls: fix tls.connect() resource leak
The 'secureConnect' event listener was attached with .on(), which blocked it from getting garbage collected. Use .once() instead. Fixes #4308.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions