summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-cipher-list.js
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2015-10-22 06:58:26 -0500
committerEvan Lucas <evanlucas@me.com>2015-10-23 16:09:46 -0500
commitb6207906c452be4c5f049a098fc645fdfb897306 (patch)
treeab31fb41df7fb7bfcef06fc2f375ee0761d63624 /test/parallel/test-tls-cipher-list.js
parent594500f9f1c36db13dd2f7b0b380b545e7463324 (diff)
downloadnode-new-b6207906c452be4c5f049a098fc645fdfb897306.tar.gz
fs: pass err to callback if buffer is too big
In fs.readFile, if an encoding is specified and toString fails, do not throw an error. Instead, pass the error to the callback. Fixes: https://github.com/nodejs/node/issues/2767 PR-URL: https://github.com/nodejs/node/pull/3485 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'test/parallel/test-tls-cipher-list.js')
0 files changed, 0 insertions, 0 deletions