]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
When starting a SOCKS connection in dynamic forwarding, freeze the
authorSimon Tatham <anakin@pobox.com>
Thu, 23 Apr 2009 17:33:42 +0000 (17:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 23 Apr 2009 17:33:42 +0000 (17:33 +0000)
commit813b190aaaab75e78243f871a957c15c4307e063
tree9f163b6a4cceebc5cbd1531e1503b2dac01a90a8
parentdfc03e1cebe13e14b081ff0675d760bdce400901
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: http://svn.tartarus.org/sgt/putty@8500 cda61777-01e9-0310-a592-d414129be87e
portfwd.c