lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Lynx connect_timeout issue


From: Thomas Dickey
Subject: Re: [Lynx-dev] Lynx connect_timeout issue
Date: Sun, 10 Mar 2013 19:51:50 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Mar 10, 2013 at 11:34:05PM +0200, Royi Porat wrote:
> Dear Lynx developers,
> I'm using lynx v2.8.7  rel.1 in my shell script running on cygwin under
> windows 7 64bit.
> my script basiclly runs in a loop on various URLs with lynx -dump option
> (to parse the text only).
> the problem is that somethimes when lynx freezes or getting hanged,
> the connect_timeout does not seem to be enforced :-/
> Is that a known issue?

not that I recall - the last time there was discussion of timeouts was
a few years ago (and the issue was that the timeout being discussed was
a different feature than that set by the option).

> am I doing anything wrong?

Is it hanging predictably on some urls?  (something I could test...).
If not, you might be able to compile a debug-executable and when it
hangs, use gdb to attach that process and find where it is hanging.

The logic in HTDoConnect (where the option applies) has not changed
much for some time.  Essentially it sets the socket to non-blocking
so that it can do the timeout's.

> 
> here's the lynx command from my script:
> 
> lynx  -display_charset:iso-8859-8 -connect_timeout=5 -useragent=$UA -dump
> $URL > $CITY_OUT

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]