aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorAndrew Pilloud <andrewpilloud@igneoussystems.com>2015-02-12 20:24:47 -0800
committerMikio Hara <mikioh.mikioh@gmail.com>2015-03-08 09:58:11 +0000
commitf00362b9ecf9fbca6f099493a4e8d1c6a030dee3 (patch)
tree034ac1024dc1e7d73ed2cb52d483e1f532b14859 /src/encoding
parentcbc854a7993accd581c3ad2a58cb51788372e29c (diff)
downloadgo-f00362b9ecf9fbca6f099493a4e8d1c6a030dee3.tar.xz
net: LookupHost and Resolve{TCP,UDP,IP}Addr should use zone from getaddrinfo
The unix and windows getaddrinfo calls return a zone with IPv6 addresses. IPv6 link-local addresses returned are only valid on the given zone. When the zone is dropped, connections to the address will fail. This patch replaces IP with IPAddr in several internal resolver functions, and plumbs through the zone. Change-Id: Ifea891654f586f15b76988464f82e04a42ccff6d Reviewed-on: https://go-review.googlesource.com/5851 Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions