1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Unix PSCP was tight-looping when connecting through a ProxyCommand.

Turned out that sk_localproxy_close() was closing the pipe fds
without removing them from the uxsel list.

[originally from svn r4965]
This commit is contained in:
Simon Tatham 2004-12-10 11:41:14 +00:00
parent e711121152
commit 6ef62aacfc

View File

@ -98,6 +98,8 @@ static void sk_localproxy_close (Socket s)
del234(localproxy_by_fromfd, ps);
del234(localproxy_by_tofd, ps);
uxsel_del(ps->to_cmd);
uxsel_del(ps->from_cmd);
close(ps->to_cmd);
close(ps->from_cmd);