Article View: news.software.nntp
Article #82048Re: Truncation of the string of Message-IDs in References
From: Russ Allbery
Date: Wed, 28 Oct 2009 05:39
Date: Wed, 28 Oct 2009 05:39
43 lines
3049 bytes
3049 bytes
"Adam H. Kerman" <ahk@chinet.com> writes:
> Could someone please refresh my memory as to why certain newsreaders
> would truncate the Message-ID string on References to root plus the
> three most recent precursor articles? Was there once an overall length
> of that header that shouldn't be exceeded? Were there certain News
> servers that didn't like a very long string?
> Is there a practical reason why a client should still truncate that
> header or could the entire string of Message-IDs be included, even if
> there are a significant number of precursor messages?
Doing so will be required by the new document that will supersede 1036.
It's already gone through AUTH48 and is just waiting on USEFOR for
publication, so it's an RFC in everything but name and its normative
contents are frozen at this point.
If the resulting References header field would, after unfolding, exceed
998 characters in length (including its field name but not the final
CRLF), it MUST be trimmed (and otherwise MAY be trimmed). Trimming
means removing any number of message identifiers from its content,
except that the first message identifier and the last two MUST NOT be
removed.
http://tools.ietf.org/html/draft-ietf-usefor-usepro-14#section-3.4.3
Given that, at this point the only justification required is "because
that's what the standard says that you have to do," but as for why that's
in there, it's for interoperability. Some clients and some servers have
trouble with References headers that exceed the RFC 5322 header length
limits when unfolded, and since the extra intermediate message IDs add
essentially zero useful information, there's no reason to risk the
interoperability problems.
There's also a minor practical benefit in that it avoids bloating overview
information with useless additional message IDs, which makes overview
downloads faster and more efficient for all clients.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87iqe0jcv8.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!not-for-mailReferences:
<hc8jch$ovh$2@news.albasani.net>Show Full Headers
Complete Article Headers
Message-ID: <87iqe0jcv8.fsf@windlord.stanford.edu> Subject: Re: Truncation of the string of Message-IDs in References Date: Tue, 27 Oct 2009 22:39:39 -0700 From: Russ Allbery <rra@stanford.edu> References: <hc8jch$ovh$2@news.albasani.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 43 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.stanford.edu 1256708379 1370 171.67.225.134 (28 Oct 2009 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:Wr4AAj2n53PQEQAJs5yAHAmC4U0=