mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-11-21 21:06:12 +07:00
node_modules: update (#362)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
4a48500d96
commit
aefdaa6a6c
49 files changed
+1316
-295
No files matched your search
+6
@@ -249,6 +249,9 @@ class SMTPConnection extends EventEmitter {
|
||||
// socket object is set up but not yet connected
|
||||
this._socket = this.options.socket;
|
||||
return this._resolveAndConnect(opts, _resolved => {
|
||||
if (this._destroyed || this._closing) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
this._socket.connect(this.port, this.host, () => {
|
||||
// a `secure` connection over a caller-provided socket must still
|
||||
@@ -1039,6 +1042,9 @@ class SMTPConnection extends EventEmitter {
|
||||
* @internal
|
||||
*/
|
||||
_upgradeConnection(callback) {
|
||||
if (this._destroyed || this._closing) {
|
||||
return;
|
||||
}
|
||||
// RFC 3207 section 6: the client MUST discard any knowledge obtained from
|
||||
// the server that was not received over the TLS-protected session. Drop any
|
||||
// buffered input received before the handshake so a man-in-the-middle cannot
|
||||
|
||||
Reference in new issue
Block a user