[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] --enable-nsl-fork doesn't always work ?
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] --enable-nsl-fork doesn't always work ? |
Date: |
Sun, 22 Apr 2012 17:40:47 -0400 |
User-agent: |
Mutt/1.3.27i |
On Sun, Apr 22, 2012 at 05:36:13PM -0300, Frédéric L. W. Meunier wrote:
> On Sun, Apr 22, 2012 at 03:33:23PM -0400, Thomas Dickey wrote:
> > On Sun, Apr 22, 2012 at 03:14:45PM -0300, Frédéric L. W. Meunier wrote:
> > > I installed Arch Linux and compiled 2.8.8dev.12 on it to have the latest
> > > code. The problem is that something stopped working: 'z', to interrupt
> > > the "Looking up" phase. Now, it stops after ~10 seconds if the site is
> > > unavailable, like http://sempreaovivo.radio.br/ . --enable-nsl-fork was
> > > enabled, so what may be causing it ? glibc ? It works fine with
> > > Slackware.
> >
> > I checked with an older version, and it still hangs. Lynx is hanging
> > not in the DNS lookup (which is what nsl-fork is good for), but in
> > connecting to the site. There was some discussion of this aspect a
> > while back - I don't recall that anyone proposed to fix for interrupting
> > this, aside from noting that it times out after a while.
>
> Here, it hangs at "Looking up sempreaovivo.radio.br", after ~10
> seconds returns "Alert!: Unable to connect to remote host." and I can
> get it back.
>
> But I was wrong. I thought it worked on Slackware, but I compiled
> 2.8.8dev.12 on it and it does the same. 2.8.7rel.2 works fine.
But "here" (Debian 5.0 with 2.8.2dev.12 or 2.8.7rel.1) both hang.
The difference between rel.1/rel.2 is not related to this area.
Comparing traces on your working/non-working versions might show
something useful - if I trace it, I see this error:
HTParse: result:`sempreaovivo.radio.br'
Looking up sempreaovivo.radio.br
HTGetAddrInfo: getaddrinfo(sempreaovivo.radio.br, 80): Name or service
not known
Unable to locate remote host sempreaovivo.radio.br.
HTTP: Unable to connect to remote host for
`http://sempreaovivo.radio.br/' (errno = 2).
Alert!: Unable to connect to remote host.
HTAccess: status=-29999
HTAccess: `http://sempreaovivo.radio.br/' has been accessed, No data
loaded.
stop_curses: done.
fwiw, it also hangs from my desktop with firefox.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
pgpvOSPpIaPj1.pgp
Description: PGP signature
Re: [Lynx-dev] --enable-nsl-fork doesn't always work ?, Keith Bowes, 2012/04/25