Skip to content

Commit 64b4e07

Browse files
committed
[fix] maybe another typo
1 parent 08293f9 commit 64b4e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ HttpProxy.prototype.proxyRequest = function (req, res, buffer) {
164164
// Emit the `start` event indicating that we have begun the proxy operation.
165165
//
166166
this.emit('start', req, res, this.target);
167-
req.pipe(new ProxyStream(res, options)).pipe(res);
167+
req.pipe(new ProxyStream(res, this)).pipe(res);
168168

169169
//
170170
// If forwarding is enabled for this instance, foward proxy the

0 commit comments

Comments
 (0)