node_crypto_bio: adjust external memory size
authorFedor Indutny <fedor@indutny.com>
Fri, 6 Mar 2015 19:58:24 +0000 (14:58 -0500)
committerFedor Indutny <fedor@indutny.com>
Sun, 8 Mar 2015 23:07:46 +0000 (19:07 -0400)
commit8670613d2d5dbfc191678caffe4c2bd228147046
tree70f26051e5f669197f49560adbfa4d5bbd0c0fc4
parentf8c893dd39d2dc03bddd4a7a036484df027c94d6
node_crypto_bio: adjust external memory size

Adjust V8's external memory size when allocating buffers for TLS data to
ensure that V8 has enough information to trigger the GC at right time.

PR-URL: https://github.com/iojs/io.js/pull/1085
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
src/node_crypto_bio.cc
src/node_crypto_bio.h
src/tls_wrap.cc