[fix] woops

This commit is contained in:
yawnt 2013-08-09 20:52:55 +02:00
parent 2e7343d728
commit bd3df45010

View File

@ -12,6 +12,8 @@ function ProxyStream() {
this.once('finish', function() { self.onFinish(); }); this.once('finish', function() { self.onFinish(); });
} }
require('util').inherits(ProxyStream, Duplex);
ProxyStream.prototype.onPipe = function(request) { ProxyStream.prototype.onPipe = function(request) {
var self = this; var self = this;
@ -43,4 +45,3 @@ ProxyStream.prototype._read = function(size) {
this.push(chunk); this.push(chunk);
}; };
require('util').inherits(ForwardStream, Duplex);