mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Justin Bradford's proxy support patch. Currently supports only HTTP
CONNECT, but contains an extensible framework to allow other proxies. Apparently SOCKS and ad-hoc-telnet-proxy are already planned (the GUI mentions them already even though they don't work yet). GUI includes full configurability and allows definition of exclusion zones. Rock and roll. [originally from svn r1598]
This commit is contained in:
2
telnet.c
2
telnet.c
@ -636,7 +636,7 @@ static char *telnet_init(char *host, int port, char **realhost, int nodelay)
|
||||
sprintf(buf, "Connecting to %.100s port %d", addrbuf, port);
|
||||
logevent(buf);
|
||||
}
|
||||
s = sk_new(addr, port, 0, 1, nodelay, &fn_table_ptr);
|
||||
s = new_connection(addr, *realhost, port, 0, 1, nodelay, &fn_table_ptr);
|
||||
if ((err = sk_socket_error(s)))
|
||||
return err;
|
||||
|
||||
|
Reference in New Issue
Block a user