fix issue with unchainable call

This commit is contained in:
Esteban Ordano 2014-11-20 16:07:15 -03:00
parent 446ec49590
commit fd9435b651

View File

@ -372,7 +372,8 @@
queryData = ''; queryData = '';
response.writeHead(413, { response.writeHead(413, {
'Content-Type': 'text/plain' 'Content-Type': 'text/plain'
}).end(); });
response.end();
request.connection.destroy(); request.connection.destroy();
} }
}).on('end', function() { }).on('end', function() {