We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4069a7e commit 5d54ea5Copy full SHA for 5d54ea5
lib/node-http-proxy.js
@@ -125,11 +125,13 @@ HttpProxy.prototype = {
125
// Open new HTTP request to internal resource with will act as a reverse proxy pass
126
var p = manager.getPool(port, server);
127
128
+ sys.puts('current pool count for ' + req.headers.host + ":" + port + ' ' +p.clients.length);
129
+
130
p.on('error', function (err) {
131
// Remark: We should probably do something here
132
// but this is a hot-fix because I don't think 'pool'
133
// should be emitting this event.
- sys.puts('p.on, error fired');
134
+ sys.puts('p.on, error fired'.red);
135
eyes.inspect(err);
136
this.res.end();
137
});
0 commit comments