Article View: demon.ip.developers
Article #155Re: News - The Return
From: Chris Croughton
Date: Mon, 14 Sep 1998 00:00
Date: Mon, 14 Sep 1998 00:00
23 lines
1899 bytes
1899 bytes
In article <905725972.4977.0.nnrp-04.d4e48b20@news.demon.co.uk>
alisdair@nospam.demon.co.uk "Alisdair Wren" wrote:
>A little while ago, Richard Clayton <richard@turnpike.com> digitally said:
>>> Although
>>>this line could be recognised not to be a LIST line, if this occurred in
>>>a message, this could not be trapped by the news client as an error.
>>>How would you propose dealing with such an eventuality?
>>by applying tolerance {or as the RFC would have it; being "liberal"} :)
>
>Even if being tolerant means ignoring the error? (It's impossible to
>trap).
Yes. If it's impossible to trap, you can't do anything else. Just mark
the message as not retrieved (e.g. don't store its message ID or article
number in the 'read' category) so that it will be fetched gain next time,
just as for any other broken connection when downloading.
Your idea of printing the last line received wit hthe error message seems
reasonable - I would be tempted to filter it and look for a numeric code
at the start of the line before doing so, but that may be overkill.
Chris C
Technical Details
Message-ID:
<Snews.980914.160551.chris.11012@keris.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<905701680.10365.0.nnrp-06.d4e48b20@news.demon.co.uk> <sZdQmzBjJ$+1EA4y@turnpike.com> <905708234.18272.0.nnrp-05.d4e48b20@news.demon.co.uk> <OW9olrCkdA$1EAFO@turnpike.com> <905725972.4977.0.nnrp-04.d4e48b20@news.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,8be96a559911efc8 X-Google-Attributes: gid10bb05,public From: chris@keris.demon.co.uk (Chris Croughton) Subject: Re: News - The Return Date: 1998/09/14 Message-ID: <Snews.980914.160551.chris.11012@keris.demon.co.uk> X-Deja-AN: 391030895 X-Mail2News-Path: news.demon.net!keris.ul.bawue.de References: <905701680.10365.0.nnrp-06.d4e48b20@news.demon.co.uk> <sZdQmzBjJ$+1EA4y@turnpike.com> <905708234.18272.0.nnrp-05.d4e48b20@news.demon.co.uk> <OW9olrCkdA$1EAFO@turnpike.com> <905725972.4977.0.nnrp-04.d4e48b20@news.demon.co.uk> X-Trace: mail2news.demon.co.uk 905790385 mail2news:12716 mail2news mail2news.demon.co.uk Organization: Keristor Systems Newsgroups: demon.ip.developers X-Complaints-To: abuse@demon.net