Settings

Theme

Go read /etc/hosts with net.lookupStaticHost()

github.com

3 points by michalmatczuk 2 years ago · 1 comment

Reader

michalmatczukOP 2 years 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection