🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44138

Re: RFC 1036 Revision: General

#44138
From: Russ Allbery
Date: Thu, 17 Feb 2000 00:00
56 lines
3277 bytes
In news.software.nntp, Curt Welch <curt@kcwc.com> writes:

> In my server, xover data is generated on demand, not when the article is
> received.  And, it's unreasonable to read the entire artice just to
> count the lines at a later point in time, so my server adds/fixes the
> Lines: header when the article as received, and then later uses that
> header to create the XOVER data.

Note that if your server then sends the article with the fixed Lines
header back out to your peers, that's technically bad.  I know INN does
that under some circumstances; that's also bad.  Servers shouldn't be
modifying any headers in transit other than Path and Xref.

> I must store the line count somewhere so I don't have to read the
> article later and the header is by far the most obvious place to do that
> since all the other XOVER data (expect the byte count) comes from the
> header.  So, because of this, the Lines: header will never be obsoleted
> from my server.

Whatever you do internal to your server is pretty much irrelevant to the
rest of Usenet and outside the scope of the standard unless it's exposed
to your peers.

> In addition, a newsreader I wrote years ago used the header to give the
> user article size feedback in the form of a scroll bar.  Without the
> Lines: header, that function wouldn't work (though if the XOVER command
> always returned a valid value that of course could be used in place of
> the Lines: header from the article).

The intention of deprecating the Lines header is to encourage newsreader
authors to get that information from the overview information, where it
will both be more accurate and guaranteed to be present.

> So, I don't really understand why people think the header should be
> obsoleted.

Mostly because it's unreliable in practice (tons of articles have
completely bogus Lines headers), not guaranteed to be there, and not
guaranteed to be usable even if it is.  Either we needed to really
standardize it, and hence say it was required to be accurate, or
deprecated it.  Given the current existing state of affairs, I'm strongly
in favor of deprecating it.

> So it the idea to obsolete the Lines data from XOVER as well

No.

> or to expect the servers to return valid XOVER line counts and just not
> have the Lines: header in articles anymore?

Right.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylr9ebwo90.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.admin.misc.mbox.zip!not-for-mail
References: <slrn8an4h9.vch.grobe+news@worf.netins.net> <84putvraym.fsf@chiark.greenend.org.uk> <20000217131430.699$Rm@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylr9ebwo90.fsf@windlord.stanford.edu>
Subject: Re: RFC 1036 Revision: General
Date: Thu, 17 Feb 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <slrn8an4h9.vch.grobe+news@worf.netins.net> <84putvraym.fsf@chiark.greenend.org.uk> <20000217131430.699$Rm@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!not-for-mail
X-Deja-AN: 587076527
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Biscayne)
Newsgroups: news.admin.misc,news.software.nntp,news.software.readers