tls_legacy: do not read on OpenSSL's stack
authorFedor Indutny <fedor@indutny.com>
Wed, 6 Jan 2016 03:42:32 +0000 (22:42 -0500)
committerMyles Borins <mborins@us.ibm.com>
Mon, 15 Feb 2016 19:30:23 +0000 (11:30 -0800)
commit7821b3e305c3987b4602c83d53ec454a99df2807
treefd1e966659a292a2d3d3949b5263d3e86d1bf360
parentd71f9992f9cc06b15dab753a0279561e03fd2cf7
tls_legacy: do not read on OpenSSL's stack

Do not attempt to read data from the socket whilst on OpenSSL's stack,
weird things may happen, and this is most likely going to result in some
kind of error.

PR-URL: https://github.com/nodejs/node/pull/4624
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
lib/_tls_legacy.js