]> Cypherpunks repositories - gostls13.git/commit
net: expand nss myhostname fallback detection
authorDan Peterson <dpiddy@gmail.com>
Wed, 23 Nov 2016 18:35:17 +0000 (11:35 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 29 Nov 2016 23:11:06 +0000 (23:11 +0000)
commit4bd95702dd1e81f383ee67c14945620d30247908
treeec8e2192d8f74104af5a64b9c1a27316683e0d41
parentc77e80df6c759a9a8e3a09f86f1ec5d6e560bb0e
net: expand nss myhostname fallback detection

Expand myhostname fallback detection to properly detect the local
hostname in addition to other supported special names and suffixes.

Fixes #17967

Change-Id: I1fe141fd9838b25886c08b6f2fd325e58be60457
Reviewed-on: https://go-review.googlesource.com/33550
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/conf.go
src/net/conf_test.go
src/net/parse.go