mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] woops
This commit is contained in:
parent
2e7343d728
commit
bd3df45010
@ -12,6 +12,8 @@ function ProxyStream() {
|
||||
this.once('finish', function() { self.onFinish(); });
|
||||
}
|
||||
|
||||
require('util').inherits(ProxyStream, Duplex);
|
||||
|
||||
ProxyStream.prototype.onPipe = function(request) {
|
||||
var self = this;
|
||||
|
||||
@ -43,4 +45,3 @@ ProxyStream.prototype._read = function(size) {
|
||||
this.push(chunk);
|
||||
};
|
||||
|
||||
require('util').inherits(ForwardStream, Duplex);
|
||||
Loading…
x
Reference in New Issue
Block a user