Skip to content

Commit 4f07dc2

Browse files
committed
[fix] let user make the decision on what to do with the buffer
1 parent 97ceeb3 commit 4f07dc2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/http-proxy/passes/web-incoming.js

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ web_o = Object.keys(web_o).map(function(pass) {
113113

114114
// Error Handler
115115
proxyReq.on('error', function(err){
116-
if(options.buffer) { options.buffer.destroy(); }
117116
if (clb) {
118117
clb(err, req, res);
119118
} else {

0 commit comments

Comments
 (0)