diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-11-19 22:06:50 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-11-30 03:14:45 +0300 |
commit | ef0b65f9b03ce29db2d9b8b5a5e5deb6d731d784 (patch) | |
tree | f7087477863f13c46f38a43e0f821587774e2483 /src/node_crypto.h | |
parent | 84a25eb7949a8ea887ddf8e23aa30f23a72fc5b1 (diff) |
tls: add memory tracking support to SSLWrap
PR-URL: https://github.com/nodejs/node/pull/30548
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r-- | src/node_crypto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 56a9ad3104d..d2bdd40ed28 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -222,6 +222,8 @@ class SSLWrap { inline bool is_awaiting_new_session() const { return awaiting_new_session_; } inline bool is_waiting_cert_cb() const { return cert_cb_ != nullptr; } + void MemoryInfo(MemoryTracker* tracker) const; + protected: typedef void (*CertCb)(void* arg); |