Skip to content

Commit b1c4bd6

Browse files
colinmollenhourindexzero
authored andcommitted
Remove data event that is not needed after-all.
1 parent 3b86a7a commit b1c4bd6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/node-http-proxy/http-proxy.js

-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ HttpProxy.prototype.proxyRequest = function (req, res, buffer) {
325325
response.pause();
326326
}
327327
}
328-
self.emit('data', chunk, req);
329328
}
330329

331330
response.on('data', ondata);

0 commit comments

Comments
 (0)