]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Tone down canonical-name resolution when using getaddrinfo(). Previously
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Thu, 7 Apr 2005 22:33:42 +0000 (22:33 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Thu, 7 Apr 2005 22:33:42 +0000 (22:33 +0000)
commitb33d9e4a446bea00878433fc1ead9353bd9b2da1
treeeb626a1dd0540dec3fe442382dacea4928156ac8
parent741f6547270efe92cb2e64f8c0ac4e8d8e0486d0
Tone down canonical-name resolution when using getaddrinfo(). Previously
we were doing a forward+reverse lookup, which seems above and beyond the
call of duty, especially given that getaddrinfo() can be persuaded to
return a canonical name (this is what unix/uxnet.c does).

Unfortunately, I'm unable to test this at all as Win98 doesn't have
getaddrinfo(); hopefully I'll be able to find a mug with a modern version
of Windows to check it's not completely broken.

I think the effects of this are mostly cosmetic -- the canonical name is
used for window titles (and some people have been annoyed at the new
behaviour), other displays, and probably also for proxy exclusions.

[originally from svn r5614]
windows/winnet.c