]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commitd9821d4dc3c1e0f6c8cf7a72006273d860087b15
tree78f4f2da370a582cead1a835f4154287d30d71ad
parent956dcd8934baed3aa33fdbb06613338c57a46309
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: http://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