Discussion:
Lynx connect_timeout problem...
Fabio F.Gervasi
2014-07-13 19:50:19 UTC
Permalink
Hi,

I usually use Lynx 2.8.8dev.15 on Linux machines.

I trying to use -connect_timeout=N options (N=60, for example, or less,
just to try), but I seem it does not work...

Where do I wrong?
Thank you,

*Fabio F. Gervasi*
Engineering Consultant


*Web www.centrometeo.com <http://www.centrometeo.com/> *
*g+ plus.google.com/centrometeo
<https://plus.google.com/105294368204645075621>*

*Twitter twitter.com/centrometeo <http://twitter.com/centrometeo> *
*Facebook facebook.com/centrometeo <http://www.facebook.com/centrometeo>*
Thomas Dickey
2014-07-14 00:47:21 UTC
Permalink
Post by Fabio F.Gervasi
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.
Post by Fabio F.Gervasi
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 <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Fabio F.Gervasi
2014-07-14 04:50:19 UTC
Permalink
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..
Post by Thomas Dickey
Post by Fabio F.Gervasi
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.
Post by Fabio F.Gervasi
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...
--
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 Dickey
2014-07-15 00:16:23 UTC
Permalink
Post by Fabio F.Gervasi
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?
Is this something that I might be able to reproduce?
(for instance, some problematic host)
Post by Fabio F.Gervasi
Thank you again..
Post by Thomas Dickey
Post by Fabio F.Gervasi
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.
Post by Fabio F.Gervasi
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...
--
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 <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Fabio F.Gervasi
2014-07-15 07:41:11 UTC
Permalink
My scripts works only using some internal data.. Besides, the lynx
"waiting" is random.. Usually I have no problems.
But I know there is a lot of people that says to have issues using
-connect-timeout option.



*Fabio F. Gervasi*
Engineering Consultant


*Web www.centrometeo.com <http://www.centrometeo.com/> *
*g+ plus.google.com/centrometeo
<https://plus.google.com/105294368204645075621>*

*Twitter twitter.com/centrometeo <http://twitter.com/centrometeo> *
*Facebook facebook.com/centrometeo <http://www.facebook.com/centrometeo>*
Post by Fabio F.Gervasi
Post by Fabio F.Gervasi
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
Post by Fabio F.Gervasi
remote server), and so the script does not go forward. So I need a
time-out
Post by Fabio F.Gervasi
(like curl or wget timeout) that "unlock" lynx to allow the script to
continue ...
What can I do?
Is this something that I might be able to reproduce?
(for instance, some problematic host)
Post by Fabio F.Gervasi
Thank you again..
Post by Thomas Dickey
Post by Fabio F.Gervasi
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.
Post by Fabio F.Gervasi
I trying to use -connect_timeout=N options (N=60, for example, or
less,
Post by Fabio F.Gervasi
Post by Thomas Dickey
Post by Fabio F.Gervasi
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
Post by Fabio F.Gervasi
Post by Thomas Dickey
2013,
but there's no definite issue reported so far...
--
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-----
--
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-----
Thomas Dickey
2014-07-15 08:31:22 UTC
Permalink
----- Original Message -----
| From: "Fabio F.Gervasi" <***@gmail.com>
| To: "Thomas Dickey" <***@his.com>
| Cc: lynx-***@nongnu.org
| Sent: Tuesday, July 15, 2014 3:41:11 AM
| Subject: Re: [Lynx-dev] Lynx connect_timeout problem...
|
|
| My scripts works only using some internal data.. Besides, the lynx
| "waiting" is random.. Usually I have no problems.
| But I know there is a lot of people that says to have issues using
| -connect-timeout option.
|
I don't see a "lot of people". Here's an example - old:

http://lists.gnu.org/archive/html/lynx-dev/2008-11/msg00000.html

(perhaps it's related to the platform you are using - I don't know)

|
|
|
|
|
| 2014-07-15 2:16 GMT+02:00 Thomas Dickey < ***@his.com > :
|
|
|
| On Mon, Jul 14, 2014 at 06:50:19AM +0200, Fabio F.Gervasi wrote:
| > 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?
|
| Is this something that I might be able to reproduce?
| (for instance, some problematic host)
|
|
|
| > Thank you again..
| > Il 14/lug/2014 02:47 "Thomas Dickey" < ***@his.com > 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 < ***@invisible-island.net >
| > > 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 < ***@invisible-island.net >
| 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-----
|
|
|
--
Thomas E. Dickey <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Fabio F.Gervasi
2014-07-15 08:52:12 UTC
Permalink
Hi!

"A lot of people" in the sense that doing a google search I found "many"
questions about this issue. In any case I will try to investigate,
especially when I will update Linux to the latest versions.

Thank you for your patience,
Fabio.



*Fabio F. Gervasi*
Engineering Consultant


*Web www.centrometeo.com <http://www.centrometeo.com/> *
*g+ plus.google.com/centrometeo
<https://plus.google.com/105294368204645075621>*

*Twitter twitter.com/centrometeo <http://twitter.com/centrometeo> *
*Facebook facebook.com/centrometeo <http://www.facebook.com/centrometeo>*
Post by Thomas Dickey
----- Original Message -----
| Sent: Tuesday, July 15, 2014 3:41:11 AM
| Subject: Re: [Lynx-dev] Lynx connect_timeout problem...
|
|
| My scripts works only using some internal data.. Besides, the lynx
| "waiting" is random.. Usually I have no problems.
| But I know there is a lot of people that says to have issues using
| -connect-timeout option.
|
http://lists.gnu.org/archive/html/lynx-dev/2008-11/msg00000.html
(perhaps it's related to the platform you are using - I don't know)
|
|
|
|
|
|
|
|
| > 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?
|
| Is this something that I might be able to reproduce?
| (for instance, some problematic host)
|
|
|
| > Thank you again..
| >
| > > > 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...
| > >
| > > --
| > > 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-----
| > >
| > >
|
| --
| 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-----
|
|
|
--
http://invisible-island.net
ftp://invisible-island.net
Thomas Dickey
2014-07-15 10:50:15 UTC
Permalink
----- Original Message -----
| From: "Fabio F.Gervasi" <***@gmail.com>
| To: "Thomas Dickey" <***@his.com>
| Cc: lynx-***@nongnu.org
| Sent: Tuesday, July 15, 2014 4:52:12 AM
| Subject: Re: [Lynx-dev] Lynx connect_timeout problem...
|
|
| Hi!
|
|
| "A lot of people" in the sense that doing a google search I found
| "many" questions about this issue. In any case I will try to
| investigate, especially when I will update Linux to the latest
| versions.
|
|
|
| Thank you for your patience,
| Fabio.
|

no problem (I'm looking for something that I can reproduce, so I can see when it's fixed).


|
| Fabio F. Gervasi
| Engineering Consultant
|
|
|
| Web www.centrometeo.com
|
| g+ plus.google.com/centrometeo
|
| Twitter twitter.com/centrometeo
|
| Facebook facebook.com/centrometeo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2014-07-15 10:31 GMT+02:00 Thomas Dickey < ***@his.com > :
|
|
|
| ----- Original Message -----
| | From: "Fabio F.Gervasi" < ***@gmail.com >
| | To: "Thomas Dickey" < ***@his.com >
| | Cc: lynx-***@nongnu.org
| | Sent: Tuesday, July 15, 2014 3:41:11 AM
| | Subject: Re: [Lynx-dev] Lynx connect_timeout problem...
| |
| |
| | My scripts works only using some internal data.. Besides, the lynx
| | "waiting" is random.. Usually I have no problems.
| | But I know there is a lot of people that says to have issues using
| | -connect-timeout option.
| |
| I don't see a "lot of people". Here's an example - old:
|
| http://lists.gnu.org/archive/html/lynx-dev/2008-11/msg00000.html
|
| (perhaps it's related to the platform you are using - I don't know)
|
|
|
| |
| |
| |
| |
| |
| | 2014-07-15 2:16 GMT+02:00 Thomas Dickey < ***@his.com > :
| |
| |
| |
| | On Mon, Jul 14, 2014 at 06:50:19AM +0200, Fabio F.Gervasi wrote:
| | > 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?
| |
| | Is this something that I might be able to reproduce?
| | (for instance, some problematic host)
| |
| |
| |
| | > Thank you again..
| | > Il 14/lug/2014 02:47 "Thomas Dickey" < ***@his.com > 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 < ***@invisible-island.net >
| | > > 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 < ***@invisible-island.net >
| | 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-----
| |
| |
| |
|
| --
| Thomas E. Dickey < ***@invisible-island.net >
| http://invisible-island.net
| ftp://invisible-island.net
|
|
--
Thomas E. Dickey <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Loading...