Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smtp-server

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtp-server - npm Package Compare versions

Comparing version 1.14.0 to 1.14.1

4

CHANGELOG.md
# Changelog
## v1.14.1 2016-08-16
* Ignore connection errors outside transaction
## v1.14.0 2016-08-09

@@ -4,0 +8,0 @@

5

lib/smtp-connection.js

@@ -256,3 +256,6 @@ 'use strict';

SMTPConnection.prototype._onError = function (err) {
if (err.code === 'ECONNRESET') {
if ((err.code === 'ECONNRESET' || err.code === 'EPIPE') &&
(!this.session.envelope || !this.session.envelope.mailFrom)) {
// We got a connection error outside transaction. In most cases it means dirty
// connection ending by the other party, so we can just ignore it
this.close(); // mark connection as 'closing'

@@ -259,0 +262,0 @@ return;

{
"name": "smtp-server",
"version": "1.14.0",
"version": "1.14.1",
"description": "Create custom SMTP servers on the fly",

@@ -21,4 +21,4 @@ "main": "lib/smtp-server.js",

"grunt-mocha-test": "^0.12.7",
"mocha": "^2.5.3",
"smtp-connection": "^2.10.0"
"mocha": "^3.0.2",
"smtp-connection": "^2.11.0"
},

@@ -25,0 +25,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc