Skip to content

Commit

Permalink
Merge pull request #4439 from DataDog/andrea.marziali/overtow
Browse files Browse the repository at this point in the history
use host header to fill undertow http tags
  • Loading branch information
amarziali authored Dec 16, 2022
2 parents 23cfac0 + 22be830 commit 6d2d461
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ public String scheme() {

@Override
public String host() {
return httpServerExchange.getDestinationAddress().getHostName();
return httpServerExchange.getHostName();
}

@Override
public int port() {
return httpServerExchange.getDestinationAddress().getPort();
return httpServerExchange.getHostPort();
}

@Override
Expand Down

0 comments on commit 6d2d461

Please sign in to comment.