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 <[email protected]> http://invisible-island.net ftp://invisible-island.net
signature.asc
Description: Digital signature
_______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
