🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89866

Re: Proposal specifications for MAXARTNUM

#89866
From: Olivier Miakinen
Date: Tue, 20 Dec 2022 22:12
40 lines
2502 bytes
Hi Julien,

Le 19/12/2022 22:45, Julien ÉLIE a écrit :
> 
> I would like to submit you this first draft about MAXARTNUM, as recently 
> discussed.
> Comments welcome :-)
> 
> [...]
> 
> MAXARTNUM Command
> 
> [...]
> 
> If the MAXARTNUM command does not have exactly one argument, or the 
> requested number is syntactically incorrect, or below 2,147,483,647 with 
> the exception of 0 (zero), the server MUST reject the MAXARTNUM command 
> with a 501 response code ([RFC3977], Section 3.2.1).  Otherwise, in case 
> no other generic response code representing the situation applies, the 
> server issues a 202 response code followed by the negotiated mutual 
> maximum article number.  Although this negotiated number MAY be 
> different than the number provided in the MAXARTNUM command, it MUST 
> either be 0 (zero), or lie between 2,147,483,647 and the number provided 
> in the MAXARTNUM command.

Maybe we should be more precise on the situation when the negotiated number
can be 0. Something such as the following.

§
maximum article number.  Although this negotiated number MAY be
different than the number provided in the MAXARTNUM command, it MUST
either be 0 (zero) when the requested number was 0 (zero), or lie
between 2,147,483,647 and the number provided in the MAXARTNUM command.
§

Otherwise, a (false) interpretation could be that the server is free to
respond 0 when it agrees with the non-zero requested number.

-- 
Olivier Miakinen
Technical Details
Message-ID: <tntc0j$1pgp$1@cabale.usenet-fr.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <tnqm14$35bas$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <tntc0j$1pgp$1@cabale.usenet-fr.net>
Subject: Re: Proposal specifications for MAXARTNUM
Date: Tue, 20 Dec 2022 23:12:35 +0100
From: Olivier Miakinen <om+news@miakinen.net>
References: <tnqm14$35bas$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: There's no cabale
Lines: 40
Nntp-Posting-Host: 200.89.28.93.rev.sfr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: cabale.usenet-fr.net 1671574355 58905 93.28.89.200 (20 Dec 2022 22:12:35 GMT)
X-Complaints-To: abuse@usenet-fr.net
Nntp-Posting-Date: Tue, 20 Dec 2022 22:12:35 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
In-Reply-To: <tnqm14$35bas$1@news.trigofacile.com>