From 2684c902c4ff90711e57e787c5bfe0bac33bcd49 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sun, 26 Apr 2015 14:19:38 +0200 Subject: tls: zero SSL_CTX freelist for a singleUse socket When connecting to server with `keepAlive` turned off - make sure that the read/write buffers won't be kept in a single use SSL_CTX instance after the socket will be destroyed. Fix: https://github.com/iojs/io.js/issues/1522 PR-URL: https://github.com/iojs/io.js/pull/1529 Reviewed-By: Shigeki Ohtsu --- src/node_crypto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/node_crypto.h') diff --git a/src/node_crypto.h b/src/node_crypto.h index a623ccbf26..f6069f8841 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -85,6 +85,8 @@ class SecureContext : public BaseObject { static void LoadPKCS12(const v8::FunctionCallbackInfo& args); static void GetTicketKeys(const v8::FunctionCallbackInfo& args); static void SetTicketKeys(const v8::FunctionCallbackInfo& args); + static void SetFreeListLength( + const v8::FunctionCallbackInfo& args); static void CtxGetter(v8::Local property, const v8::PropertyCallbackInfo& info); -- cgit v1.2.3