Use /etc/hosts when resolving names.
http://code.google.com/p/go/issues/detail?id=313 This conflics with Chris' patch at: https://golang.org/cl/181063 But I believe this is more complete since it has a simple caching and proper tests. R=cw, rsc CC=golang-dev https://golang.org/cl/183066
Showing
src/pkg/net/hosts.go
0 → 100644
src/pkg/net/hosts_test.go
0 → 100644
src/pkg/net/hosts_testdata
0 → 100644
Please
register
or
sign in
to comment