]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit74baacffa38725284c9cd8e3d327bcf9cebf5c4b
tree9f163b6a4cceebc5cbd1531e1503b2dac01a90a8
parent87aafaa89a5c39bfe121a5bedfc84887bdeb9f20
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.

[originally from svn r8500]
portfwd.c