working on x-forwarded-for

This commit is contained in:
Otávio Ribeiro 2012-12-07 09:30:09 -02:00 committed by indexzero
parent 133240937d
commit 31fc94aa5e

View File

@ -163,10 +163,6 @@ RoutingProxy.prototype.close = function () {
});
};
function getProto(req) {
return req.isSpdy ? 'https' : (req.connection.pair ? 'https' : 'http');
}
//
// ### function proxyRequest (req, res, [port, host, paused])
// #### @req {ServerRequest} Incoming HTTP Request to proxy.