From 1c63e24602c01c5d7e5587088969d90a25807386 Mon Sep 17 00:00:00 2001 From: simon 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: svn://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.11.0