🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41108

Re: Gnus & References [Was: GNKSA review of Microplanet Gravity ...]

#41108
From: Curt Welch
Date: Sat, 23 May 1998 00:00
65 lines
4149 bytes
staplei@planet.ari.dpi.qld.gov.au (Ian Staples) wrote:
> Does this refer to the length of an individual reference (e.g. the
> 1d90... above), or does it refer to the total length of all References?

It's the total length that's the issue.  Inn restricts both the max length
of a single line (about 1000 bytes) and the max length of any single header
(1024 bytes I think).  Others servers have similar restrictions.

> (I note that they form one logical line, so I guess that could become a
> problem if it exceeds a particular newsreader's string length limitation,
> if any, for this header.)

Right.

> If the latter (i.e. total length) is the problem, would the references
> be restricted sensibly (i.e. by using the FIFO approach) or would the
> header line simply be truncated?  How do other newsreaders handle
> the problem?

Exactly the problem.  Few people understand the issues involved here, and
far too many newsreaders fail to solve the problem for them. This is
because most articles never get up to the 1000 byte limit.  So a newsreader
that ignores the problem still works fine 99% of the time.  And when it
does fail, the most common failure mode is that the Reference: line is
poorly truncated (either by breaking at a fixed length, or throwing away
the wrong message-IDs).  The less common side effect is that the line
is left too long and the post is rejected - which makes it the users's
problem and not the 'nets problem.

And in both of those cases, the only side effect is that newsreaders can't
correctly display thread trees, or kill files don't quite work like they
should.  It doesn't cause newsreaders or servers to crash, and it doesn't
stop people from seeing or replying to the message (at least most the
time).

Some newsreaders will truncate the line, and some might use the FIFO
approach, but both are wrong.  The first message-ID on the line is
used by some newsreaders to identify the thread.  If you throw it out
then those newsreaders will not realize the article is in the same
thread.

Removing articles from the end of the list is clearly bad - those are
usually the most important.  So the correct thing to do is remove
message-IDs starting with the second one.

Then there's the issue of leaving extra blanks in the header to mark
the fact that a Message-ID has been removed.  It's unclear if any
newsreader actually takes advantage of this information - but when
truncating and reformating the Refereces header thought should be given
with respect to how to deal with that (i.e. when to remove blanks vs
message-ids).

And then there's the "change of subject" markers in message-IDs and the
desire to not remove any of these message-IDs if possible.

So producing the best possible References: lines is far more complex that
most people (and some newsreader authors) realize.  And there's always
the debate about just how important all this is :)

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <19980523132231.867$6m@newsreader.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-mail
References: <6jbqdu$pbt$2@news2.xs4all.nl> <rj1ztx473x.fsf@zuse.+dina.kvl.dk> <6jekh3$qnv$2@nz12.rz.uni-karlsruhe.de> <slrn6llnio.dji.hezu@tuuri.ling.helsinki.fi> <1d90ti6.131tvvb179wa0hN@roxboro0-035.dyn.interpath.net> <m3ra1wwahv.fsf@sparky.gnus.org> <EtEKyK.x2@planet.ari.dpi.qld.gov.au>

Show Full Headers
Complete Article Headers
Message-ID: <19980523132231.867$6m@newsreader.com>
Subject: Re: Gnus & References [Was: GNKSA review of Microplanet Gravity ...]
Date: Sat, 23 May 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <6jbqdu$pbt$2@news2.xs4all.nl> <rj1ztx473x.fsf@zuse.+dina.kvl.dk> <6jekh3$qnv$2@nz12.rz.uni-karlsruhe.de> <slrn6llnio.dji.hezu@tuuri.ling.helsinki.fi> <1d90ti6.131tvvb179wa0hN@roxboro0-035.dyn.interpath.net> <m3ra1wwahv.fsf@sparky.gnus.org> <EtEKyK.x2@planet.ari.dpi.qld.gov.au>
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: 355877168
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
Newsgroups: news.software.readers