tls_wrap: clear errors on return
Adopt `MarkPopErrorOnReturn` from `node_crypto.cc`, and use it to clear errors after `SSL_read`/`SSL_write`/`SSL_shutdown` functions. See: https://github.com/nodejs/node/issues/4485 PR-URL: https://github.com/nodejs/node/pull/4515 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl> v4.x-staging Commit Metadata: PR-URL: https://github.com/nodejs/node/pull/4709 Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
5f4aa794
Please register or sign in to comment