diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc index 49523bc3b84955..4b079afc19b16f 100644 --- a/src/tls_wrap.cc +++ b/src/tls_wrap.cc @@ -825,7 +825,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