mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] dont use bind in the one case we do
This commit is contained in:
parent
607f96c00c
commit
d26ef56e1b
@ -104,7 +104,7 @@ function ProxyServer(options) {
|
||||
return ws[pass];
|
||||
});
|
||||
|
||||
this.on('error', this.onError.bind(this));
|
||||
this.on('error', this.onError, this);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user