From fd9435b651192864ac250484bfd8ee089d98ea00 Mon Sep 17 00:00:00 2001 From: Esteban Ordano Date: Thu, 20 Nov 2014 16:07:15 -0300 Subject: [PATCH] fix issue with unchainable call --- plugins/emailstore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/emailstore.js b/plugins/emailstore.js index 154ee3a..44a7f70 100644 --- a/plugins/emailstore.js +++ b/plugins/emailstore.js @@ -372,7 +372,8 @@ queryData = ''; response.writeHead(413, { 'Content-Type': 'text/plain' - }).end(); + }); + response.end(); request.connection.destroy(); } }).on('end', function() {