1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

proxy.c now no longer refers to `cfg'. Instead, each of the three

proxy-indirection network functions (name_lookup, new_connection,
new_listener) takes a `const Config *' as an argument, and extracts
enough information from it before returning to handle that
particular network operation in accordance with the proxy settings
it specifies. This involved {win,ux}net.c due to a `const'
repercussion.

[originally from svn r2567]
This commit is contained in:
Simon Tatham
2003-01-12 15:26:10 +00:00
parent 2d469ba497
commit 952857fca3
12 changed files with 122 additions and 95 deletions

View File

@ -79,6 +79,8 @@ struct Socket_proxy_tag {
/* accepting */
void *accepting_sock;
/* configuration, used to look up proxy settings */
Config cfg;
};
typedef struct Plug_proxy_tag * Proxy_Plug;