News for hackers. Stuff that matters.
Re:Go read /etc/hosts with net.lookupStaticHost() by michalmatczuk on Friday February 23, 2024 @10:56AM (#39482172)
We need to check if given domain name points to localhost.

Previously we used resolver with custom dialer that never dials connection but this resulted in unexpected allocations :/

This patch links net.lookupStaticHost(), clean and simple.

There are no comments on this comment yet.