When starting a SOCKS connection in dynamic forwarding, freeze the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 23 Apr 2009 17:33:42 +0000 (17:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 23 Apr 2009 17:33:42 +0000 (17:33 +0000)
commit09d133f3aa04b42a52ae13fd4ba25e80bee5ebf0
tree9f163b6a4cceebc5cbd1531e1503b2dac01a90a8
parent61ef0c16fb901a7c8992e8f46318c609146c0fbc
When starting a SOCKS connection in dynamic forwarding, freeze the
local socket _before_ calling the SSH setup functions. This makes no
difference to ssh.c itself, but it makes portfwd.c easier to reuse
for other purposes (e.g. as a component of a standalone SOCKS
server), because now ssh_send_port_open() can itself call
pfd_confirm() without the freeze and unfreeze happening in the wrong
order.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8500 cda61777-01e9-0310-a592-d414129be87e
portfwd.c