Skip to content

Commit 31fc94a

Browse files
otaviojrindexzero
authored andcommitted
working on x-forwarded-for
1 parent 1332409 commit 31fc94a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: lib/node-http-proxy/routing-proxy.js

-4
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@ RoutingProxy.prototype.close = function () {
163163
});
164164
};
165165

166-
function getProto(req) {
167-
return req.isSpdy ? 'https' : (req.connection.pair ? 'https' : 'http');
168-
}
169-
170166
//
171167
// ### function proxyRequest (req, res, [port, host, paused])
172168
// #### @req {ServerRequest} Incoming HTTP Request to proxy.

0 commit comments

Comments
 (0)