crypto: track external memory for SSL structures
authorFedor Indutny <fedor@indutny.com>
Sun, 26 Apr 2015 12:27:46 +0000 (14:27 +0200)
committerFedor Indutny <fedor@indutny.com>
Thu, 30 Apr 2015 09:02:23 +0000 (11:02 +0200)
commite6874dd0f9c62a515b64ed35a4806f667152b6ec
tree96fb324b52d4057a7b39b44c471cf3e2dde82b9e
parent2d241b3b82d246881c8a6bcc7148d59349309d5f
crypto: track external memory for SSL structures

Ensure that GC kicks in at the right times and the RSS does not blow up.

Fix: https://github.com/iojs/io.js/issues/1522
PR-URL: https://github.com/iojs/io.js/pull/1529
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
src/node_crypto.cc
src/node_crypto.h