Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: reduce TLS 'close' event listener warnings
Without this, some heavy usage of TLS sockets can result in MaxListenersExceededWarning firing, from the 'this.on('close', ...)' line here. These appear to come from reinitializeHandle, which calls _wrapHandle repeatedly on the same socket instance.
- Loading branch information