Commit 5d54ea58 authored by Marak Squires's avatar Marak Squires

adding more debugging messages

parent 4069a7e9
......@@ -125,11 +125,13 @@ HttpProxy.prototype = {
// Open new HTTP request to internal resource with will act as a reverse proxy pass
var p = manager.getPool(port, server);
sys.puts('current pool count for ' + req.headers.host + ":" + port + ' ' +p.clients.length);
p.on('error', function (err) {
// Remark: We should probably do something here
// but this is a hot-fix because I don't think 'pool'
// should be emitting this event.
sys.puts('p.on, error fired');
sys.puts('p.on, error fired'.red);
eyes.inspect(err);
this.res.end();
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment