🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52037

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

#52037
From: J.B. Moreno
Date: Wed, 25 Apr 2001 23:42
48 lines
3751 bytes
(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).

> According to http://www.academ.com/academ/nntp/ietf/0412.html, the current
> NNTP reference implementation reports "0" for first and last articles in
> this case, even though this is not the best option, and future NNTP specs
> might forbid it.
> 
> So, reporting "211 0 0 0 local.test" is neither against the RFC nor against
> common practise as it seems, but unfortunately it breaks Gravity.
> 
> Still, I'm going to hunt for an INN option or patch that changes this
> behaviour at least on my machine, so that Gravity will stop complaining.

The article you pointed to above seems to imply that INN should return
just what I would have expected (first=last, count=0).  Of course INN
has changed since then, but I wonder why it would have changed this.

-- 
JBM
"Your depression will be added to my own" --  Marvin of Borg
Technical Details
Message-ID: <1esffea.18b1u6517ypquaN%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.frii.net!uunet!dca.uu.net!ralph.vnet.net!planb
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>

Show Full Headers
Complete Article Headers
Message-ID: <1esffea.18b1u6517ypquaN%planb@newsreaders.com>
Subject: Groups with no current articles (was: Gravity and "reset article numbers")
Date: Wed, 25 Apr 2001 19:42:58 -0400
From: planb@newsreaders.com (J.B. Moreno)
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>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.frii.net!uunet!dca.uu.net!ralph.vnet.net!planb
Newsgroups: alt.usenet.offline-reader,news.software.readers,news.software.nntp
Followup-To: news.software.nntp,news.software.readers
Organization: NetNews BOFH wannabe
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|u
    X|f8`cFDd*PaH8N*x>d^h
Mail-Copies-To: nobody
User-Agent: MacSOUP/2.4.4
Lines: 47
NNTP-Posting-Host: 166.82.78.231
X-Trace: ralph.vnet.net 988242026 166.82.78.231 (Wed, 25 Apr 2001 19:40:26 EDT)
NNTP-Posting-Date: Wed, 25 Apr 2001 19:40:26 EDT