diff options
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r-- | src/node_crypto.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index 636cbb99d4..463be5f072 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -432,19 +432,7 @@ class Connection : public AsyncWrap, public SSLWrap<Connection> { Connection(Environment* env, v8::Local<v8::Object> wrap, SecureContext* sc, - SSLWrap<Connection>::Kind kind) - : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_SSLCONNECTION), - SSLWrap<Connection>(env, sc, kind), - bio_read_(nullptr), - bio_write_(nullptr), - hello_offset_(0) { - MakeWeak<Connection>(this); - Wrap(wrap, this); - hello_parser_.Start(SSLWrap<Connection>::OnClientHello, - OnClientHelloParseEnd, - this); - enable_session_callbacks(); - } + SSLWrap<Connection>::Kind kind); private: static void SSLInfoCallback(const SSL *ssl, int where, int ret); |