Skip to content

Commit

Permalink
Remove a left-over TODO statement
Browse files Browse the repository at this point in the history
The test mentioned in the TODO has been implemented in a previous PR.
  • Loading branch information
cescoffier committed Nov 7, 2024
1 parent 1a812b2 commit 90d1602
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ private void calculate() {
authority = HostAndPort.create(host, port >= 0 ? port : -1);
host = host + (port >= 0 ? ":" + port : "");
delegate.headers().set(HOST_HEADER, host);
// TODO Add a test
if (forwardingProxyOptions.enableTrustedProxyHeader) {
// Verify that the header was not already set.
if (delegate.headers().contains(X_FORWARDED_TRUSTED_PROXY)) {
Expand Down

0 comments on commit 90d1602

Please sign in to comment.