diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index 0fab952a2b..13ba550398 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -827,7 +827,7 @@ void TLSWrap::Initialize(Handle target, env->SetProtoMethod(t, "enableSessionCallbacks", EnableSessionCallbacks); env->SetProtoMethod(t, "enableHelloParser", EnableHelloParser); - StreamBase::AddMethods(env, t); + StreamBase::AddMethods(env, t, StreamBase::kFlagHasWritev); SSLWrap::AddMethods(env, t); #ifdef SSL_CTRL_SET_TLSEXT_SERVERNAME_CB