lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Bug report - hang


From: Thomas Dickey
Subject: Re: [Lynx-dev] Bug report - hang
Date: Tue, 20 Jun 2017 04:14:14 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jun 19, 2017 at 09:28:06PM -0400, Travis Siegel wrote:
> I thought lynx already had timeouts.  If I try to go to a site that
> doesn't exist, or one that isn't currently up, eventually lynx
> returns.  Why wouldn't it do the same in this case?

The existing timeouts deal with problems in making the connection.
In this case, the site responds, but malfunctions.

It should either return data (including an error-status if appropriate)
or close the connection.
 
> On 6/19/2017 7:56 PM, Thomas Dickey wrote:
> >On Tue, Jun 20, 2017 at 09:22:49AM +1000, Kim Holburn wrote:
> >>>On 2017/Jun/20, at 8:51 AM, Thomas Dickey <address@hidden> wrote:
> >>>
> >>>On Mon, Jun 19, 2017 at 10:36:39PM +1000, Kim Holburn wrote:
> >>>>Hi,
> >>>>
> >>>>Is this the place for lynx bug reports?  Please reply to me directly.
> >>>>
> >>>>I run this command:
> >>>>
> >>>>lynx -dump  -read_timeout=10 -connect_timeout=10 -head 
> >>>>'https://www.bitvise.com/download-area' |more
> >>>>
> >>>>lynx hangs.  If I use -mime_header instead of -head it works fine.
> >>>>
> >>>>It only happens on some sites.  I'm not sure why.
> >>>nor I, but here's what I found while investigating:
> >>>
> >>>a) first, I considered whether it was running into problems with cookie
> >>>   prompts (but no, -accept-all-cookies had no effect).
> >>>
> >>>b) perhaps the content encoding (there's no accept in the head request,
> >>>   so that doesn't appear likely).
> >>>
> >>>c) a dump works, but head doesn't.  Looking for comparison, I used
> >>>
> >>>   curl -I 'https://www.bitvise.com/download-area'
> >>>
> >>>   and found that also hangs.  If it had worked, I'd have looked further,
> >>>   but suspect the problem isn't lynx.
> >>Thanks for having a look.  Since it is a rare occurrence (but not unique 
> >>just
> >>the latest one I have found), I expect it is definitely something weird the
> >>website is doing.  Yet should a webserver be able to hang a browser?
> >It might be nice to implement some timeout, true (patches welcome).
> >
> >
> >
> >_______________________________________________
> >Lynx-dev mailing list
> >address@hidden
> >https://lists.nongnu.org/mailman/listinfo/lynx-dev
> 
> 
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus

-- 
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]