Support for doing DNS at the proxy end. I've invented a new type of
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 18 Dec 2002 16:23:11 +0000 (16:23 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 18 Dec 2002 16:23:11 +0000 (16:23 +0000)
commitb7a189f38294c745ae4ea6efb55891c8196e275b
tree78f4f2da370a582cead1a835f4154287d30d71ad
parent42389a9e58e79436a497cfd00e6b4afd3367b0cf
Support for doing DNS at the proxy end. I've invented a new type of
SockAddr, which just contains an unresolved hostname and is created
by a stub function in *net.c. It's an error to pass this to most of
the real-meat functions in *net.c; these fake addresses should have
been dealt with by the time they get down that far. proxy.c now
contains name_lookup(), a wrapper on sk_namelookup() which decides
whether or not to do real DNS, and the individual proxy
implementations each deal sensibly with being handed an unresolved
address and avoid ever passing one down to *net.c.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2353 cda61777-01e9-0310-a592-d414129be87e
14 files changed:
doc/config.but
network.h
portfwd.c
proxy.c
putty.h
raw.c
rlogin.c
settings.c
ssh.c
telnet.c
unix/uxnet.c
windlg.c
winnet.c
x11fwd.c