From 64b4e07ffbcd5581b3f6d7f7839f0d28d9c742d7 Mon Sep 17 00:00:00 2001 From: cronopio Date: Thu, 11 Jul 2013 14:07:38 -0500 Subject: [PATCH] [fix] maybe another typo --- lib/node-http-proxy/http-proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node-http-proxy/http-proxy.js b/lib/node-http-proxy/http-proxy.js index f761878..379e9dd 100644 --- a/lib/node-http-proxy/http-proxy.js +++ b/lib/node-http-proxy/http-proxy.js @@ -164,7 +164,7 @@ HttpProxy.prototype.proxyRequest = function (req, res, buffer) { // Emit the `start` event indicating that we have begun the proxy operation. // this.emit('start', req, res, this.target); - req.pipe(new ProxyStream(res, options)).pipe(res); + req.pipe(new ProxyStream(res, this)).pipe(res); // // If forwarding is enabled for this instance, foward proxy the