Merge pull request #259 from eordano/fix/head

fix issue with unchainable call
This commit is contained in:
Matias Alejo Garcia 2014-11-20 16:09:29 -03:00
commit 307b6d2de3

View File

@ -360,7 +360,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() {