]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Support for doing DNS at the proxy end. I've invented a new type of
authorSimon Tatham <anakin@pobox.com>
Wed, 18 Dec 2002 16:23:11 +0000 (16:23 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 18 Dec 2002 16:23:11 +0000 (16:23 +0000)
commita564ad314016e6334b863671ad98b1f21fd6cfe0
tree78f4f2da370a582cead1a835f4154287d30d71ad
parente1cc16e6beb8d813eb27dcc765ab95cd8aa698b7
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.

[originally from svn r2353]
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