Tone down canonical-name resolution when using getaddrinfo(). Previously
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 7 Apr 2005 22:33:42 +0000 (22:33 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Thu, 7 Apr 2005 22:33:42 +0000 (22:33 +0000)
commitac0c8510e21bcbe0ea018e8a45d9dfa9aafb18f5
treeeb626a1dd0540dec3fe442382dacea4928156ac8
parent52bd9b266e41decf5a6edff14e01f7c8c12e4284
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5614 cda61777-01e9-0310-a592-d414129be87e
windows/winnet.c