🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68429

Re: New NNTP draft -- Section 8

#68429
From: Russ Allbery
Date: Thu, 04 Mar 2004 21:27
96 lines
5128 bytes
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> In article <87r80ze9fq.fsf@windlord.stanford.edu>, Russ Allbery wrote:

>> 8.4.1 The :bytes metadata item
>> 
>>    The :bytes metadata item for an article is a decimal integer. It MUST
>>    equal the number of octets in the entire article - headers, body, and
>>    separating empty line - except that each CRLF pair MAY (but SHOULD
>>    NOT) be counted as a single octet.

> shouldn't there be an explicit comment in here about accuracy (or rather
> the lack thereof)? While it's semi-implied by the ambiguity over CRLF,
> it should be explicitly stated somewhere.

There was much discussion of this point on the NNTP list since Andrew
posted about this, and the wording has been changed in the current draft.
About :bytes, it now says:

8.4.1 The :bytes metadata item

   The :bytes metadata item for an article is a decimal integer. It
   SHOULD equal the number of octets in the entire article - headers,
   body, and separating empty line (counting a CRLF pair as two octets,
   and not including either the "." CRLF terminating the response nor
   any "." added for "byte-stuffing" purposes).

   Note to client implementers: some existing servers return a value
   different to that above. The commonest reasons for this are:

   o  counting a CRLF pair as one octet;

   o  including the "." character used for byte-stuffing in the number;

   o  including the terminating "." CRLF in the number;

   o  using one copy of an article for counting the octets but then
      returning another one that differs in some (permitted) manner.

   Implementations should be prepared for such variation and MUST NOT
   rely on the value being accurate.

I think this will resolve Andrew's issue.  Please follow up here if you
feel this is the wrong approach to take for the bytes value in overview.

>> 8.5.1 OVER
>> 
>> 8.5.1.1 Usage
>> 
>>    Syntax
>>       OVER message-id

> When did this creep back in?

> Essentially every major server design in use treats the overview
> database as an article index by group, and has no way to retrieve
> precomputed overview entries by message-id. The obvious approach of
> implementing (in the server) the equivalent of HEAD <id> plus conversion
> to overview format fails badly on some server designs where the Xref:
> field is not accessible in such cases.

> Needless to say we don't support it (and never will; the solution for
> NEWNEWS-type clients is to provide an extension to NEWNEWS itself that
> returns additional requested overview fields _along with_ the
> message-ids; this can be done efficiently, whereas handling a huge
> stream of OVER <id> requests from a client can not).

OVER with a message ID is now optional, and the draft explains the error
code to return if it's not supported by the server:

   Support for the first (message-id) form is optional. If it is not
   supported, the generic response code 503 MUST be returned.

>> 8.6.1 HDR
>> 
>> 8.6.1.1 Usage
>> 
>>    Syntax
>>       HDR header message-id

> Some existing designs won't be able to support HDR Xref <id> without rather
> extreme contortions in the server (see comments for OVER <id>). Also,
> HDR :lines <id> may be problematic.

The LIST HEADERS command now takes an optional parameter that requests
information about what headers are available by message ID rather than by
article number.  Those two lists are permitted to differ.

We're heading into last call on the draft starting early next week.  I'll
post the URL for the new I-D when we go to internal last call.  IETF-wide
last call will start two weeks after that.

-- 
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: <87hdx4cnfl.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.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <87r80ze9fq.fsf@windlord.stanford.edu> <slrnbppubi.2ofh.andrew+nonews@trinity.supernews.net>

Show Full Headers
Complete Article Headers
Message-ID: <87hdx4cnfl.fsf@windlord.stanford.edu>
Subject: Re: New NNTP draft -- Section 8
Date: Thu, 04 Mar 2004 13:27:58 -0800
From: Russ Allbery <rra@stanford.edu>
References: <87r80ze9fq.fsf@windlord.stanford.edu> <slrnbppubi.2ofh.andrew+nonews@trinity.supernews.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.20140818.mbox.gz!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!feed2.news.rcn.net!feed1.news.rcn.net!rcn!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 96
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1078435678 15909 171.64.19.147 (4 Mar 2004 21:27:58
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:gf42Jt4JJt8Q/7DM50G1fsQQg7U=