🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52047

Re: Groups with no current articles (was: Gravity and "reset article numbers")

#52047
From: Josef Drexler
Date: Thu, 26 Apr 2001 16:10
54 lines
4051 bytes
Sorry, J.B. Moreno, could you repeat that?  I wasn't paying attention:
> (I'm adding in news.software.nntp and setting followups to nsr and nsn)
> 
> Josef Drexler <nospam0401@josefsbox.cjb.net> wrote:
> 
>> Sorry, J.B. Moreno, could you repeat that?  I wasn't paying attention:
>> > Josef Drexler <nospam0401@josefsbox.cjb.net> wrote:
> -snip on group with no articles-
>> >> However, "group local.test" returns
>> >> 211 0 0 0 local.test
>> >> 
>> >> This does suggest that the article numbers have been reset to 0.  Very
>> >> interesting.  The question now is, is this a problem with my news server or
>> >> is it a bug in Gravity.  I mean, is this result to be expected for an empty
>> >> group that used to have articles?
>> > 
>> > No, I'd expect something like:
>> > 211 15 15 0 local.test
>> > 
>> > Unless this is an undocumented convention that I am unaware of (or I
>> > somehow missed it) I'd consider this a server bug.
>> 
>> It is not defined in the NNTP RFC.  RFC977 simply states that it should
>> return the numbers of the first and last articles, and an estimate of how
>> many articles there are.  If there are no articles, there is no first or
>> last one, and these numbers would be undefined.
> 
> IMO this is incorrect -- last is the highest number so far, not the
> highest number available (cancels for instance).

It may be incorrect, but that's not how the RFC states it:

[GROUP command]
  "The successful selection response will return the article numbers of
   the first and last articles in the group, and an estimate of the
   number of articles on file in the group."

It doesn't say what it should return if there are no articles in the group,
when there is no first or last article.

I agree that it should not return zero, but if it does it still doesn't
violate the RFC.

The NNTP reference implementation apparently looks at the spool directory
and finds out what the highest and lowest article are, and how many there
are.  This would return low=high=count=0 too.  I'm not sure what INN does
exactly, but it must be something similar.

-- 
   Josef Drexler                 |    http://publish.uwo.ca/~jdrexler/
---------------------------------+----------------------------------------
 Please help Conserve Gravity    |  Email address is *valid*.
 Boycott multistory buildings.   |  Don't remove the "nospam" part.
Technical Details
Message-ID: <9c9h98$l81$1@panther.uwo.ca>
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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!torn!newshost.uwo.ca!not-for-mail
References: <MPG.153fe6fda6c3e2149896d5@netnews.worldnet.att.net> <1ert70n.g9vdvptfwht7N%planb@newsreaders.com> <9ba2rs$lj6$1@panther.uwo.ca> <1erv6p0.1dxyy71lpqssdN%planb@newsreaders.com> <9bfbbm$i2e$1@panther.uwo.ca> <1eryw8p.u4h7ndh5lmabN%planb@newsreaders.com> <9bhoo1$nva$1@panther.uwo.ca> <9c4glc$5on$1@panther.uwo.ca> <1esdltl.siywqfe8hc0vN%planb@newsreaders.com> <9c4ouh$6uh$1@panther.uwo.ca> <1ese7b9.1k2jvr7ql426vN%planb@newsreaders.com> <9c6ujj$b0e$1@panther.uwo.ca> <1esffea.18b1u6517ypquaN%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <9c9h98$l81$1@panther.uwo.ca>
Subject: Re: Groups with no current articles (was: Gravity and "reset article numbers")
Date: Thu, 26 Apr 2001 16:10:16 +0000
From: Josef Drexler <nospam0401@josefsbox.cjb.net>
References: <MPG.153fe6fda6c3e2149896d5@netnews.worldnet.att.net> <1ert70n.g9vdvptfwht7N%planb@newsreaders.com> <9ba2rs$lj6$1@panther.uwo.ca> <1erv6p0.1dxyy71lpqssdN%planb@newsreaders.com> <9bfbbm$i2e$1@panther.uwo.ca> <1eryw8p.u4h7ndh5lmabN%planb@newsreaders.com> <9bhoo1$nva$1@panther.uwo.ca> <9c4glc$5on$1@panther.uwo.ca> <1esdltl.siywqfe8hc0vN%planb@newsreaders.com> <9c4ouh$6uh$1@panther.uwo.ca> <1ese7b9.1k2jvr7ql426vN%planb@newsreaders.com> <9c6ujj$b0e$1@panther.uwo.ca> <1esffea.18b1u6517ypquaN%planb@newsreaders.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!torn!newshost.uwo.ca!not-for-mail
Newsgroups: news.software.nntp,news.software.readers
Organization: University of Western Ontario
Lines: 53
NNTP-Posting-Host: barney.physics.uwo.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: panther.uwo.ca 988301416 21761 129.100.24.110 (26 Apr 2001 16:10:16 GMT)
X-Complaints-To: abuse@julian.uwo.ca
NNTP-Posting-Date: 26 Apr 2001 16:10:16 GMT
X-Newsreader: knews 1.0b.0
X-Uptime: 11:36am up 13 days, 21:45, 28 users, load average: 0.23, 0.13, 0.03