Hacker News new | ask | show | jobs
by michalmatczuk 852 days ago
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.