Article View: news.software.nntp
Article #89813Re: MAXARTNUM extension
From: Franck
Date: Sun, 11 Dec 2022 05:47
Date: Sun, 11 Dec 2022 05:47
79 lines
3455 bytes
3455 bytes
Salut Julien, > Allez les Bleus !! :-) Ma tÊlÊ a failli ne pas survivre! :-) > Incidentally, is there a reason for Spitfire not to handle numbers up to > 2^64-1, using unsigned long long? Now, it can. > I would not return 501 if MAXARTNUM > your maximum. > > MAXARTNUM ^100 > 202 (2^63-1) <-- the mutual maximum negotiated > > I would only return 501 if there is more than 2 arguments or, when an > argument is given, this argument is below 2^31-1 or is not a number or > is not "^" followed with a number. Hum, is there a reason to do : C: MAXARTNUM ^100 S: 202 (2^63-1) <-- the mutual maximum negotiated and not : C: MAXARTNUM ^1 S: 202 (2^31-1) <-- the mutual minimum negociated ? Again, I don't see the point to set a value other than the maximum value of an int type or "nothing" for "unlimited". > 401 MAXARTNUM > > And after using it, I propose: > > 502 Next article has an article number larger than our mutual maximum Ok for me, sounds cool. >> - Articles > ^31 can be retrieved with their <Message-ID>. In this >> case, article number is set to "0" and ALL newsgroups in Xref header >> with a value > 2^31 are "on-the-fly" set to 0. Size of article is also >> adjusted "on-the-fly". > > Is it really necessary to change the numbers in Xref header fields? It is not "necessary" but, I mean, if artcile number is set to "0", why not to do the same in Xref? I know it's a bit of coding but, why not? > So I would just keep Xref untouched when sending it in overview data or > in header fields. For overview data (OVER/HDR), Xref is not concerned because you can't go outside the [range] (first-MAXARTNUM), so Xref is untouched. >> - NEWNEWS display ALL <Message-ID> (< or > ^31). > Yes! :) > It could be worth mentioning the case of an empty newsgroup with large > numbers. The preferred notation is: > > Low = MAXARTNUM > High = MAXARTNUM-1 > Count = 0 Sounds ok for me. > Also, a second call to MAXARTNUM causes 502 (already used). Sounds good toO.
Technical Details
Message-ID:
<CI0Egf4AYlY@news.spitfire-nntp.fr>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-mailReferences:
<D9E85xtkDAg@news.spitfire-nntp.fr> <tn323o$2mbfk$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <CI0Egf4AYlY@news.spitfire-nntp.fr> Subject: Re: MAXARTNUM extension Date: Sun, 11 Dec 2022 06:47:43 +0100 From: Franck <franck@email.invalid> References: <D9E85xtkDAg@news.spitfire-nntp.fr> <tn323o$2mbfk$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 Mime-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Content-Language: fr Newsgroups: news.software.nntp In-Reply-To: <tn323o$2mbfk$1@news.trigofacile.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 11 Dec 2022 05:47:43 +0000 (UTC) Injection-Info: news.spitfire-nntp.fr; posting-host="shYHH3RVWaPg4bdeq2NRrLJ02nWHuE0DmYLjsNv4N634JFiXp7dV-LIGFg4cLVu87oHk-05-pfRoVesQ4mYVWQ=="; posting-account="HGlqVRH_2zBIVq3CRI4xMoETl6vSKXGfM9bl_xPdcjM="; logging-data="C63956eff0124e407"; mail-complaints-to="abuse@spitfire-nntp.fr" Cancel-Lock: sha1:18/6zmVRPfo+3qpvWVXKpE1HD5Q= sha256:Lf3IyGEFpILdOxotk85HqXcfeBvgbqJ9Qc4qB/Qly+U= sha1:LQ8oZbkMcV8aKyDhbk8C9vJf//0= sha256:oKJXYGwMgCLmbBp8lRiRSseAH7SGg6/fOheI41Fvnag= Organization: Home of Spitfire News Server, Montpellier (France).