|
From: | Fabio F.Gervasi |
Subject: | Re: [Lynx-dev] Lynx connect_timeout problem... |
Date: | Tue, 15 Jul 2014 09:41:11 +0200 |
Fabio F. Gervasi Twitter twitter.com/centrometeo Facebook facebook.com/centrometeo
|
| |
On Mon, Jul 14, 2014 at 06:50:19AM +0200, Fabio F.Gervasi wrote:Is this something that I might be able to reproduce?
> Hi Thomas!
>
> Thank you for reply. The problem is that i use lynx into some script.
>
> Sometimes lynx waits indefinitely (for example, due to network problems or
> remote server), and so the script does not go forward. So I need a time-out
> (like curl or wget timeout) that "unlock" lynx to allow the script to
> continue ...
>
> What can I do?
(for instance, some problematic host)
> Thank you again..
> Il 14/lug/2014 02:47 "Thomas Dickey" <address@hidden> ha scritto:
>
> > On Sun, Jul 13, 2014 at 09:50:19PM +0200, Fabio F.Gervasi wrote:
> > > Hi,
> > >
> > > I usually use Lynx 2.8.8dev.15 on Linux machines.
> >
> > that sounds recent enough... but
> >
> > 2012-11-18 (2.8.8dev.15)
> >
> > I made some fixes in dev.13 for nsl-fork, but that's probably not what
> > you're looking at.
> >
> > > I trying to use -connect_timeout=N options (N=60, for example, or less,
> > > just to try), but I seem it does not work...
> >
> > It depends on what you are looking for: lynx is calling "select" with
> > a timeout of 0.1 seconds, and checking the result 10 times a second,
> > limited by the option value.
> >
> > I see from the list-archives that someone asked about this feature early
> > 2013,
> > but there's no definite issue reported so far...
> >
> > --
> > Thomas E. Dickey <address@hidden>
> > http://invisible-island.net
> > ftp://invisible-island.net
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> >
> > iEYEARECAAYFAlPDKJkACgkQcCNT4PfkjtsigwCdEK8/82PKaAZ6ReG5SkDMx3KU
> > qpkAmQEUKd0tJA/iPDBmfXSQETJzIFjR
> > =+D2P
> > -----END PGP SIGNATURE-----
> >
> >
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAlPEctcACgkQcCNT4PfkjtsZQACdF/FkCUkWNUAViAHfYXc5a6mj
JbAAn28lN4a1O/6F/C/Kz9ZoA8rWgMUy
=F/n4
-----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |