🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71098

Re: [NNTP] LISTGROUP

#71098
From: Russ Allbery
Date: Wed, 20 Apr 2005 02:10
34 lines
2799 bytes
Curt Welch <curt@kcwc.com> writes:

> I assume the behavior is just a side effect and not something done on
> purpose.  There's no reason to make 100-85 be read as 100- is there?

It looks like it was actually done on purpose.  I'm not sure why.

> I also notice that if you use numbers below the range of the group, it
> changes them to be the first article in the group.  So if the group is
> articles 10-20, and you do XOVER 1-2, or XOVER 2-1, it returns an xover
> record for article 10.  So they must be adjusting the numbers to be
> within the group range before executing the command.  That's just poor
> code in my book.  If you ask for 5-9 it shouldn't return a record for 10
> like the giganews server does.

Yeah, that's completely broken.

> So it looks to me like there isn't any consistency in how servers have
> dealt with this.  None I tested treated it as an error however.  They
> all either returned nothing or returned a single article.  But I only
> tested the xover command.  I didn't do a complete test on all the cases
> with all the commands that support a range.

I would hope they'd treat them the same.

Okay, I'm leaning towards declaring INN broken and saying that if low is
higher than high, the right result is an empty list (for OVER and HDR as
well).

-- 
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: <87sm1mi4eo.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!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <87is2mz13d.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181529350.3216@Tomobiki-Cho.CAC.Washington.EDU> <20050419205322.158$D1@newsreader.com> <87y8bei7d2.fsf@windlord.stanford.edu> <20050419220813.904$pf@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <87sm1mi4eo.fsf@windlord.stanford.edu>
Subject: Re: [NNTP] LISTGROUP
Date: Tue, 19 Apr 2005 19:10:55 -0700
From: Russ Allbery <rra@stanford.edu>
References: <87is2mz13d.fsf@windlord.stanford.edu> <Pine.WNT.4.63.0504181529350.3216@Tomobiki-Cho.CAC.Washington.EDU> <20050419205322.158$D1@newsreader.com> <87y8bei7d2.fsf@windlord.stanford.edu> <20050419220813.904$pf@newsreader.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.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 34
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1113963055 25474 171.64.19.147 (20 Apr 2005
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux)
Cancel-Lock: sha1:ASSG4b0vewv2PB3LJd3XsiSJ8ys=