diff --git a/lib/caronte/streams/proxy.js b/lib/caronte/streams/proxy.js index c6b75c4..10afdae 100644 --- a/lib/caronte/streams/proxy.js +++ b/lib/caronte/streams/proxy.js @@ -21,7 +21,7 @@ ProxyStream.prototype.onPipe = function(request) { this.proxyReq.once('response', function(response) { self.onResponse(response); - }) + }); this.proxyReq.on('error', function() {}); // XXX TODO: add error handling }