GNetworkAddress: drop cached addresses on resolver reload
authorDan Winship <danw@gnome.org>
Tue, 19 Feb 2013 20:19:22 +0000 (15:19 -0500)
committerDan Winship <danw@gnome.org>
Wed, 20 Feb 2013 12:33:58 +0000 (07:33 -0500)
commitc6c11665668c47841011258e5dbca07ad3d8aba0
tree0ed93619913d5bfe08a1345d8dee5474c0b1d907
parentcfafad5aefeeab1a4ee208cefa15e01d31932611
GNetworkAddress: drop cached addresses on resolver reload

If the resolver reloads (ie, if /etc/resolv.conf changes),
GNetworkAddress needs to re-resolve its addresses the next time it's
enumerated. Otherwise hosts that have different IP addresses inside
and outside a VPN won't work correctly if you hold on to a
GNetworkAddress for them for a long time.

https://bugzilla.gnome.org/show_bug.cgi?id=694181
gio/gnetworkaddress.c
gio/gnetworkingprivate.h
gio/gresolver.c