🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38733

Re: truncating referenclists

#38733
From: Jeremy
Date: Fri, 16 Jul 1999 00:00
24 lines
1742 bytes
Asle Pedersen  <apederse@grm.hia.no> wrote:

> Are servers or clients ever truncating referencelists. And if so (they
> do!?), what end of the list is truncated. What are reasonable lengths of
> messageID, length of referencelists/ number of references that I should
> take into account when programming/constructing databases.

Servers don't trim them, but clients often do when they get very long.
The "right" way to do it is to keep the first one and at least the last
three, and remove them in the middle, probably starting from #2, until
the list becomes short enough.

To avoid nastiness, though, it would be best if your code is prepared
to handle a References header of arbitrary length.  References can be
wrapped onto multiple lines and thus won't necessarily be shorter than
the max NNTP line length.  Most of them won't be terribly long, but if
you put a limit on it, someone will come along and break your code at
some point.

-- 
Jeremy  |  jeremy@exit109.com
"Who's scruffy-looking?"  --Han Solo

Technical Details
Message-ID: <932107873.493.39@news.remarQ.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <378C7AD0.6170C4B8@grm.hia.no>

Show Full Headers
Complete Article Headers
Message-ID: <932107873.493.39@news.remarQ.com>
Subject: Re: truncating referenclists
Date: Fri, 16 Jul 1999 00:00:00 +0000
From: Jeremy <jeremy@exit109.com>
References: <378C7AD0.6170C4B8@grm.hia.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 501640794
X-Complaints-To: newsabuse@remarQ.com
X-Trace: 932107873.493.39 N.FQMSBXJ00000000 qube-03.us-ca.remarq.com
Organization: There Is No Organization
NNTP-Posting-Date: Fri, 16 Jul 1999 06:51:13 GMT
Newsgroups: news.software.nntp
X-Meow: Meow