mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-26 01:32:25 +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:
parent
e711121152
commit
6ef62aacfc
@ -98,6 +98,8 @@ static void sk_localproxy_close (Socket s)
|
|||||||
del234(localproxy_by_fromfd, ps);
|
del234(localproxy_by_fromfd, ps);
|
||||||
del234(localproxy_by_tofd, ps);
|
del234(localproxy_by_tofd, ps);
|
||||||
|
|
||||||
|
uxsel_del(ps->to_cmd);
|
||||||
|
uxsel_del(ps->from_cmd);
|
||||||
close(ps->to_cmd);
|
close(ps->to_cmd);
|
||||||
close(ps->from_cmd);
|
close(ps->from_cmd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user