From e280d2e714357e101264f7a74072d5cb1566ce6d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 10 Dec 2004 11:41:14 +0000 Subject: [PATCH] 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. git-svn-id: http://svn.tartarus.org/sgt/putty@4965 cda61777-01e9-0310-a592-d414129be87e --- unix/uxproxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/uxproxy.c b/unix/uxproxy.c index 1191a61a..617f5ccf 100644 --- a/unix/uxproxy.c +++ b/unix/uxproxy.c @@ -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); -- 2.45.2