[fix] let user make the decision on what to do with the buffer

This commit is contained in:
Jarrett Cruger 2014-04-10 20:02:46 -04:00
parent 97ceeb37d0
commit 4f07dc220d

View File

@ -113,7 +113,6 @@ web_o = Object.keys(web_o).map(function(pass) {
// Error Handler
proxyReq.on('error', function(err){
if(options.buffer) { options.buffer.destroy(); }
if (clb) {
clb(err, req, res);
} else {