|
From: | Fabio F.Gervasi |
Subject: | Re: [Lynx-dev] Lynx connect_timeout problem... |
Date: | Mon, 14 Jul 2014 06:50:19 +0200 |
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?
Thank you again..
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-----
[Prev in Thread] | Current Thread | [Next in Thread] |