Commit 4069a7e9 authored by Marak Squires's avatar Marak Squires

adding some debug messages for live testing

parent 711258ef
......@@ -28,6 +28,7 @@ var sys = require('sys'),
http = require('http'),
events = require('events'),
pool = require('pool'),
eyes = require('eyes'),
min = 0,
max = 100;
......@@ -128,6 +129,9 @@ HttpProxy.prototype = {
// 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');
eyes.inspect(err);
this.res.end();
});
p.request(req.method, req.url, req.headers, function (reverse_proxy) {
......
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