Article View: news.software.nntp
Article #89805Re: MAXARTNUM extension
From: Franck
Date: Sat, 10 Dec 2022 13:38
Date: Sat, 10 Dec 2022 13:38
39 lines
2877 bytes
2877 bytes
Hello Marc, > Nor do I see a problem, it's just not really needed as long as you know > what you put in the field. > > It usually helps, when you define standards and protocols, to not have > too many ways to do things, especially on APIs. > > Or at least this is my opinion after implementing a filtering proxy on > top of INN and having to handle all the different ways you can select an > article :) Hi Marc, You are totally right but MAXARTNUM is largely inspired by "BIGNUM" and its author had proposed this syntax, which is why I added it (with an obligation for the server to reply with a number). Something in the spirit of "The client MAY use any form of syntax but the server MUST reply with a number". Personally, the "^N" syntax is not the one I would have chosen since in my opinion the maximum number is only the maximum value of an integer type. As an *** example ***, I have just added the method I would have used instead of ^N (Again, words are example!). C: MAXARTNUM INT32 S: 202 2147483647 is our mutual maximum article number. C: MAXARTNUM UINT32 S: 202 4294967295 is our mutual maximum article number. C: MAXARTNUM INT64 S: 202 9223372036854775807 is our mutual maximum article number. Have nice day, Franck
Technical Details
Message-ID:
<DatJI8wGnno@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> <wwvr0x8xlin.fsf@LkoBDZeT.terraraq.uk> <Diocrbvh4Po@news.spitfire-nntp.fr> <wwv4ju3fyaw.fsf@LkoBDZeT.terraraq.uk> <B2evrb5HDao@news.spitfire-nntp.fr> <tn1n41$l9o$1@shakotay.alphanet.ch> <CsGCkmXT49s@news.spitfire-nntp.fr> <tn1u3a$ng0$1@shakotay.alphanet.ch>Show Full Headers
Complete Article Headers
Message-ID: <DatJI8wGnno@news.spitfire-nntp.fr> Subject: Re: MAXARTNUM extension Date: Sat, 10 Dec 2022 14:38:44 +0100 From: Franck <franck@email.invalid> References: <D9E85xtkDAg@news.spitfire-nntp.fr> <wwvr0x8xlin.fsf@LkoBDZeT.terraraq.uk> <Diocrbvh4Po@news.spitfire-nntp.fr> <wwv4ju3fyaw.fsf@LkoBDZeT.terraraq.uk> <B2evrb5HDao@news.spitfire-nntp.fr> <tn1n41$l9o$1@shakotay.alphanet.ch> <CsGCkmXT49s@news.spitfire-nntp.fr> <tn1u3a$ng0$1@shakotay.alphanet.ch> 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: <tn1u3a$ng0$1@shakotay.alphanet.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 10 Dec 2022 13:38:45 +0000 (UTC) Injection-Info: news.spitfire-nntp.fr; posting-host="pSN5tWnJZhpgq4NIx9E1eAEVTAdVNU22jUDUhcu8EQKjnY8FZtylCiJZcZrUAD6eCPqyFCvOs0b68ApR3lPI1g=="; posting-account="j9JuMxwDdejPkhfxao1XC9VN_ZfFZ7Y3s8fiHHmAWE0="; logging-data="C63948be52cd6c00e"; mail-complaints-to="abuse@spitfire-nntp.fr" Cancel-Lock: sha1:IKysIUowd64P6LTCBKc9KA7ORK0= sha256:V9SkE7HRWDSs0BdkhtyzfxOdVztkn6jO2MW5ss3WceM= sha1:aAOxMhR3HGiV9UtI8droRw4SrSA= sha256:ehrZ5r7nEEuXxS62/Ewabn8+Gslr0AGB3QEJrTYpPB4= Organization: Home of Spitfire News Server, Montpellier (France).