🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79390

Re: 200 or 201 at initial connection?

#79390
From: Julien ÉLIE
Date: Sun, 31 Aug 2008 21:30
29 lines
2359 bytes
Hi again,

> May I suggest an improvement for the following example in section 5.3.3?

For 6.2.1.2 too, regarding ARTICLE:

   If the argument is a message-id and no such article exists, a 430
   response MUST be returned.
   If the argument is a number or is omitted
   and the currently selected newsgroup is invalid, a 412 response MUST
   be returned.
   If the argument is a number and that article does not
   exist in the currently selected newsgroup, a 423 response MUST be
   returned.
   If the argument is omitted and the current article number
   is invalid, a 420 response MUST be returned.

There is a race condition for the second and the fourth.  We MUST return
two different codes :)
RFC 3977 does not mention that these sentences should match in order.

I believe the fourth one lacks "in the currently selected newsgroup".

-- 
Julien ÉLIE

« Tu quoque fili... Ce Brutus...
  Je finirai par avoir des ennuis avec ce garnement ! » (César)
Technical Details
Message-ID: <g9f2hn$vto$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail
References: <g971md$r4v$1@news.trigofacile.com> <877ia0k58u.fsf@windlord.stanford.edu> <g9e16f$54a$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <g9f2hn$vto$1@news.trigofacile.com>
Subject: Re: 200 or 201 at initial connection?
Date: Sun, 31 Aug 2008 23:30:26 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <g971md$r4v$1@news.trigofacile.com> <877ia0k58u.fsf@windlord.stanford.edu> <g9e16f$54a$1@news.trigofacile.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.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 29
NNTP-Posting-Host: aaubervilliers-151-1-49-24.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1220218231 32696 83.114.131.24 (31 Aug 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sun, 31 Aug 2008 21:30:31 +0000 (UTC)
In-Reply-To: <g9e16f$54a$1@news.trigofacile.com>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049