diff --git a/lib/_tls_wrap.js b/lib/_tls_wrap.js index 41421e19880890..0247eeac747bbf 100644 --- a/lib/_tls_wrap.js +++ b/lib/_tls_wrap.js @@ -281,7 +281,7 @@ TLSSocket.prototype._wrapHandle = function(handle) { tls.createSecureContext(); res = tls_wrap.wrap(handle, context.context, options.isServer); res._parent = handle; - res._reading = handle._reading; + res.reading = handle.reading; // Proxy HandleWrap, PipeWrap and TCPWrap methods proxiedMethods.forEach(function(name) {