Skip to content

Commit

Permalink
Merge pull request #1138 from pistacheio/no-special-localhost
Browse files Browse the repository at this point in the history
fix(net): drop special localhost handling
  • Loading branch information
kiplingw committed Jun 27, 2023
2 parents e884d6d + 363629b commit 63d5138
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/common/net.cc
Original file line number Diff line number Diff line change
Expand Up @@ -438,10 +438,6 @@ namespace Pistache
{
host = "0.0.0.0";
}
else if (host == "localhost")
{
host = "127.0.0.1";
}

const auto& addresses = HostToIPv4(host, portPart);
if (!addresses.empty())
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1.20230324
0.1.1.20230627

0 comments on commit 63d5138

Please sign in to comment.