Article View: news.software.readers
Article #20380Re: Help! Is this a bad idea?
From: spike
Date: Thu, 04 Apr 1996 00:00
Date: Thu, 04 Apr 1996 00:00
54 lines
3432 bytes
3432 bytes
On 2 Apr 1996 21:45:48 -0500, olaf@bigred.inka.de (Olaf Titz) wrote: >(Just have tested that trn does not crash on this condition - it treats the >circular reference approximately as "unknown") > >It has been pointed out a number of times that the real Bad Thing (tm) is a >newsreader doing no sanity checks on its input and crashing on any article >bogosity. (The same applies to transports; the "whitespace in message-id" >problem of ancient or the "multiple cancel" problem of recent times... but >these got fixed really fast.) > >"May crash the news reader, YMMV" is - unfortunately - an accurate >description. But that does not mean "Don't do this" with regard to article >header construction - it does mean "fix the broken newsreaders". Nothing in a >circular reference chain _forces_ the threading code into an endless loop, >right? :-) > >olaf Not quite. IMHO a circular reference would be the fault of the posting program. The news reader on the receiving end is just doing its job. It gets a new article. If there is no reference listed, a new thread is started. If a reference IS listed, then thread new article to the reference article (if available). A check for a circular reference should not be needed. A posted article is either an original article (no reference since it becomes the reference for all future articles) or it is a follow-up article (where it will have a reference of the articles it is a follow-up to). Since NO post is legally a follow-up to itself, its message ID should not be in the reference line of the header (Bad Thing(tm), evil juju). Now, with that being said, I'll say that even though it should not be needed, a check for circular references should be included. Why? With many different programmers working on many different programs for many different platforms, someone is going to goof. It is inevitable. With headers ranging from strict RFC compliance to 'just enough RFC compliance to get the damn thing posted', all I can say is the same thing I said before - YMMV (sad but true). BTW, why would you WANT to post a circular reference in the first place (other than to drive people crazy that have news readers that don't check for this) ?? Tom ============================================================== Limit one per customer. No refunds, exchanges, or credit. For external use only, do not ingest. Prolonged exposure may cause vomiting, nausea, dizziness, or drowseiness. Keep out of reach of pets and small children. In case of emergency consult nearest medical newsgroup. Highly flamable at times do not expose to those with excessive sensitivities. One size fits all. Offer void where prohibited. Offer void to 'Me Too' posters. Terms subject to change without notice. Have a nice day :-) ==============================================================
Technical Details
Message-ID:
<31636759.30808915@news.datasync.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<4jeacn$hf5@solutions.solon.com> <m0u42eL-000IcLC@bigred.inka.de>Show Full Headers
Complete Article Headers
Message-ID: <31636759.30808915@news.datasync.com> Subject: Re: Help! Is this a bad idea? Date: Thu, 04 Apr 1996 00:00:00 +0000 From: spike@datasync.com References: <4jeacn$hf5@solutions.solon.com> <m0u42eL-000IcLC@bigred.inka.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 145785031 Organization: Not much :-) Newsgroups: news.software.readers