]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
When a proxy negotiation function is called with PROXY_CHANGE_NEW, it
authorSimon Tatham <anakin@pobox.com>
Tue, 16 Oct 2012 20:15:52 +0000 (20:15 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 16 Oct 2012 20:15:52 +0000 (20:15 +0000)
commitaf93703f17352fd6742c3d5f414a46342017cba6
tree34fa9113a74617337ad7e46baaabfebbb4ff7389
parent50d95a9d125adf52c88496bc2fd95138c8022153
When a proxy negotiation function is called with PROXY_CHANGE_NEW, it
should not call plug functions, because it's being called from within
new_connection(), and the state on which the plug functions depend
will not have been set up until new_connection() returns success.
Instead, we set the error string in the Proxy_Socket, which will cause
the same error message to be returned as a failure of new_connection().

git-svn-id: http://svn.tartarus.org/sgt/putty@9689 cda61777-01e9-0310-a592-d414129be87e
proxy.c