[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV Lack of timeout
From: |
T.E.Dickey |
Subject: |
Re: LYNX-DEV Lack of timeout |
Date: |
Thu, 26 Mar 1998 13:33:52 -0500 (EST) |
> 980325 Wayne Buttles wrote:
> > I have been using lynx as a web checker now for about a year
> > Sometimes one of my web servers will freak out & accept connections,
> > but never respond with data. This locks lynx up waiting for something
> > to happen, and it will stay this way until the process is killed.
> > I have seen one hung for 6 hours before.
> > What can I do to make lynx time out automatically?
>
> an obvious quicky is: can you do ^z in a batch file to check the time?
> but 2 more thoughts, which have come up before occasionally:
>
> (1) how easy would it be to add a line to lynx.cfg to set the time allowed
> before Lynx gives up on a site (incl a name look-up)?
Moderate (not easy, since it wouldn't work on all platforms). Perhaps an
elaboration of NSL_FORK would be a starting place.
> (2) instead of the dummy cursor, couldn't the current time be displayed?
if it's waiting for a response - again, not easily ported (the way to do
this on a Unix system is using an alarm, which may interrupt the system
call in progress, causing it to fail - working around that tends to get
complicated: yes, I'm well aware of the handful of 'modern' systems where
this is not a problem).
> SUPPORT ___________//___, Philip Webb : address@hidden
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey