[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Suggestion: Warn if downloading 'breaks'
From: |
Philip Webb |
Subject: |
Re: lynx-dev Suggestion: Warn if downloading 'breaks' |
Date: |
Tue, 23 Mar 1999 22:52:45 -0500 (EST) |
990323 Klaus Weide wrote:
> On Mon, 22 Mar 1999 address@hidden wrote:
>> Is it possible to introduce into lynx a feature to warn me
>> whenever a download (or a html file display) has terminated abnormally?
>> This could be a warning on the status line (for html being displayed)
>> or a warning on the download page display in lynx.
> Yes, lynx should do something like this.
> At least for HTTP files, if they come with a Content-length header.
> Lynx should compare the total of bytes received with the expected length.
so be encouraged, but KW should have told you the facts of lynx-dev life:
if you want a feature, you have to be prepared to program it yourself.
feel free to have a go & send in a patch.
> This won't work with the current implementation of byte counting
> for the statusline progess message, which starts counting
> at the wrong point in the data stream: after the first buffer,
> normally 1 network packet, has been read and processed.
> It should start counting exactly where the message body starts
> (which may be later or earlier or coincide, depending on factors
> out of Lynx's control). probably the counter should be (re-)set to 0
> somewhere in HTMIME.c, since that's where end of HTTP headers is detected.
so you also have some advice from one of the expert programmers
to get you started ... (smile).
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : address@hidden
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto