Skip to content

Commit

Permalink
working on x-forwarded-for
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviojr authored and indexzero committed Mar 9, 2013
1 parent 1332409 commit 31fc94a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/node-http-proxy/routing-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 31fc94a

Please sign in to comment.