From b1c4bd61e8ae5705d4cc97bf719c381554671967 Mon Sep 17 00:00:00 2001 From: colinmollenhour Date: Mon, 7 Jan 2013 00:17:24 -0500 Subject: [PATCH] Remove data event that is not needed after-all. --- lib/node-http-proxy/http-proxy.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node-http-proxy/http-proxy.js b/lib/node-http-proxy/http-proxy.js index 8c0720b..ca1e649 100644 --- a/lib/node-http-proxy/http-proxy.js +++ b/lib/node-http-proxy/http-proxy.js @@ -325,7 +325,6 @@ HttpProxy.prototype.proxyRequest = function (req, res, buffer) { response.pause(); } } - self.emit('data', chunk, req); } response.on('data', ondata);