delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/13/10:38:26

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: [ANNOUNCEMENT] Updated:lftp-3.5.9-1
Date: Tue, 13 Feb 2007 10:37:35 -0500
Lines: 40
Message-ID: <68m3t2pgsvb5cdphnphvbomfpcduq655g7@4ax.com>
References: <announce DOT OFC4011260 DOT 4A41521B-ON8525727D DOT 005D82A1-8525727D DOT 005DC0BA AT epamail DOT epa DOT gov> <eqkih0$4br$1 AT sea DOT gmane DOT org> <2n01t2d0tjsju80t9h5uaa9r8tv5u2popm AT 4ax DOT com> <eqrv9m$4uh$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 (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.

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.

Good luck,
Andrew.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019