From owner-freebsd-current Mon Apr 12 23: 4:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from leap.innerx.net (leap.innerx.net [38.179.176.25]) by hub.freebsd.org (Postfix) with ESMTP id 741F71509E for ; Mon, 12 Apr 1999 23:04:37 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org (ip60.houston13.tx.pub-ip.psi.net [38.27.213.60]) by leap.innerx.net (Postfix) with ESMTP id 523B037012; Tue, 13 Apr 1999 02:02:14 -0400 (EDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id BAA02247; Tue, 13 Apr 1999 01:02:36 -0500 (CDT) (envelope-from chris) Date: Tue, 13 Apr 1999 01:02:36 -0500 From: Chris Costello To: Gianmarco Giovannelli Cc: current@FreeBSD.ORG Subject: Re: ftp hangs on -current Message-ID: <19990413010236.A2189@holly.dyndns.org> Reply-To: chris@calldei.com References: <4.1.19990408054254.00a4ab80@194.184.65.4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4us In-Reply-To: <4.1.19990408054254.00a4ab80@194.184.65.4>; from Gianmarco Giovannelli on Thu, Apr 08, 1999 at 05:49:52AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 7, 1999, Gianmarco Giovannelli wrote: > > "ftp" on 4.0-very-current (post egcs make world) randomly hangs during > sessions... > I never succeded in finishing a session lately. > To transfer some files from my home to my isp server I had to do an "ftp" > from the server and a "get" to them... I don't know if this is proper behavior or not. I get this problem when sending an ABRT and the server doesn't respond (because it's a broken Windows FTPd, usually) or when I'm on a generally _bad_ route to that particular system. I'm not sure if it works, but I'll investigate into it: Perhaps a test to see if read/write failed with errno = EINTR - if it is EINTR, close() the socket and sit at the prompt, or perhaps just exit. Any opinions? -- Chris Costello Bad command or file name. Go stand in the corner. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message