X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: [ANNOUNCEMENT] Updated:lftp-3.5.9-1 Date: Tue, 13 Feb 2007 17:53:52 -0000 Lines: 44 Message-ID: References: <2n01t2d0tjsju80t9h5uaa9r8tv5u2popm AT 4ax DOT com> <68m3t2pgsvb5cdphnphvbomfpcduq655g7 AT 4ax DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com * Andrew Schulman (Tue, 13 Feb 2007 10:37:35 -0500) > > * Andrew Schulman (Mon, 12 Feb 2007 10:12:54 -0500) > > > > > lftp ftp.microsoft.com > > > > lftp: host name resolve timeout > > > > > > I'm not able to reproduce this problem: > > > > I figured it out myself: it's the "dns:fatal-timeout 0" setting in my > > .lftprc. The funny thing is that "0" is the default and actually means > > "no timeout" > > > > man lftp > > "dns:fatal-timeout (seconds) > > limit the time for DNS queries. If DNS server is unavailable too long, > > lftp will fail to resolve a given host name. 0 means > > unlimited, the default." > > > > It's a classical bug, my Linux lftp 3.5.7 shows the same behaviour. > > OK, I'm glad you found it. A few comments: > > (1) The man page for version 3.5.9 says something different from what you > show above: > > dns:fatal-timeout (time interval) > limit the time for DNS queries. If DNS server is unavailable too > long, lftp will fail to resolve a given host name. Set to > `never' to disable. The man page from the cygwin binary is still 3.5.5 but it says the same. > So setting it to 0 should probably be expected to be fatal. Maybe this is > what changed in version 3.4.4, that caused your setup to stop working with > Cygwin then. > > On my host without setting dns:fatal-timeout, its value is 7d. > > (2) lftp is fairly complex and I'm still learning it. For future bug > reports I'll ask users to attach their .lftprc files and look first in the > settings, of which there are about 200. Probably asking to start lftp with the .lftrc would even be wiser... Thorsten -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/