Thread View: news.software.readers
5 messages
5 total messages
Started by Michael Bäuerle
Tue, 20 Dec 2022 20:22
[flnews] Support for NNTP extension MAXARTNUM
Author: Michael Bäuerle
Date: Tue, 20 Dec 2022 20:22
Date: Tue, 20 Dec 2022 20:22
13 lines
1523 bytes
1523 bytes
This snapshot supports the NNTP extension MAXARTNUM [1]:
<https://micha.freeshell.org/flnews/src/flnews-1.2.0pre17.tar.bz2>
Size(flnews-1.2.0pre17.tar.bz2)= 1210540
SHA2-256(flnews-1.2.0pre17.tar.bz2)= bfda27ae129c96e2e2374708b5ced2216177a0340f9c181c1b0f38aa94f92015
[Xpost und Fup2 set to news.software.readers]
____________
[1] MAXARTNUM draft from Julien Élie
<news:tnqm14$35bas$1@news.trigofacile.com>
(Message-ID: <tnqm14$35bas$1@news.trigofacile.com>)
Re: [flnews] Support for NNTP extension MAXARTNUM
Author: Julien ÉLIE
Date: Tue, 20 Dec 2022 21:50
Date: Tue, 20 Dec 2022 21:50
13 lines
1283 bytes
1283 bytes
Hi Michael, > This snapshot supports the NNTP extension MAXARTNUM Oh, you were quick to add support for it. Thanks! (Yes, I know MAXARTNUM is far easier to implement in news readers than in news servers!) -- Julien ÉLIE « Je connais des sourds qui s'entendent très bien ! » (Philippe Geluck)
Re: [flnews] Support for NNTP extension MAXARTNUM
Author: Michael Bäuerle
Date: Wed, 21 Dec 2022 12:10
Date: Wed, 21 Dec 2022 12:10
56 lines
2919 bytes
2919 bytes
Julien ÉLIE wrote: > Michael Bäuerle wrote: > > > > This snapshot supports the NNTP extension MAXARTNUM > > Oh, you were quick to add support for it. Thanks! > > (Yes, I know MAXARTNUM is far easier to implement in news readers than > in news servers!) flnews is written in C90/C++98, therefore there may be no 64-bit data type available. The data type "unsigned long int" is internally used for article numbers and ULONG_MAX as limit. This means that on machines where "unsigned long int" is 32-bit wide, there are still much more article numbers (beyond 2^31-1) usable with the MAXARTNUM extension. Protocol log from a machine with AMD64 architecture: | | [Using NNTP protocol driver] | [=> Connect to news.spitfire-nntp.fr:nntp] | [<=] 200 news.spitfire-nntp.fr running Spitfire News Server 0.9 (Posting allowed). | [=>] CAPABILITIES | [<=] 101 capability list follows: | [<= Expect multiline data block] | VERSION 2 | IMPLEMENTATION Spitfire News Server 0.9.290.0 (64-bit) | AUTHINFO USER SASL | HDR | LIST ACTIVE ACTIVE.TIMES COUNTS HEADERS MODERATORS MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS | MAXARTNUM 18446744073709551616 | NEWNEWS | OVER | POST | READER | SASL CRAM-MD5 PLAIN | [Switch to NNTP V2 (RFC 3977) mode] | [=>] MAXARTNUM 18446744073709551615 | [<=] 202 18446744073709551615 is our mutual maximum article number. | [=>] CAPABILITIES | [<=] 101 capability list follows: | [<= Expect multiline data block] | VERSION 2 | IMPLEMENTATION Spitfire News Server 0.9.290.0 (64-bit) | AUTHINFO USER SASL | HDR | LIST ACTIVE ACTIVE.TIMES COUNTS HEADERS MODERATORS MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS | NEWNEWS | OVER | POST | READER | SASL CRAM-MD5 PLAIN | [...] MAXARTNUM is no longer advertised after capability refresh.
Re: [flnews] Support for NNTP extension MAXARTNUM
Author: Julien ÉLIE
Date: Wed, 21 Dec 2022 21:30
Date: Wed, 21 Dec 2022 21:30
30 lines
1862 bytes
1862 bytes
Hi Michael, > This means that on machines where "unsigned long int" is 32-bit wide, > there are still much more article numbers (beyond 2^31-1) usable with > the MAXARTNUM extension. Yes, an extra double number of articles :) > | [=>] CAPABILITIES > | [<=] 101 capability list follows: > | MAXARTNUM 18446744073709551616 Oh, strange that 2^64 has been advertised. I've contacted the news admin. Now fixed! MAXARTNUM 18446744073709551615 > | [=>] MAXARTNUM 18446744073709551615 > | [<=] 202 18446744073709551615 is our mutual maximum article number. You can then have access to large article numbers: GROUP local.test.maxartnum 211 18 2147483646 2147483663 local.test.maxartnum group selected. -- Julien ÉLIE « Cette obscure clarté qui tombe des étoiles. » (Pierre Corneille)
Re: [flnews] Support for NNTP extension MAXARTNUM
Author: Michael Bäuerle
Date: Thu, 22 Dec 2022 10:01
Date: Thu, 22 Dec 2022 10:01
48 lines
3369 bytes
3369 bytes
Julien ÉLIE wrote: > Michael Bäuerle wrote: > > > > [...] > > | [=>] CAPABILITIES > > | [<=] 101 capability list follows: > > | MAXARTNUM 18446744073709551616 > > Oh, strange that 2^64 has been advertised. I've contacted the news > admin. Now fixed! > > MAXARTNUM 18446744073709551615 Looks good now. > > | [=>] MAXARTNUM 18446744073709551615 > > | [<=] 202 18446744073709551615 is our mutual maximum article number. > > You can then have access to large article numbers: > > GROUP local.test.maxartnum > 211 18 2147483646 2147483663 local.test.maxartnum group selected. Already tested with article: <news:AABjohKbFE0AADRD.A3.flnews@WStation7.micha.freeshell.org> (Message-ID: <AABjohKbFE0AADRD.A3.flnews@WStation7.micha.freeshell.org>) Quoted from flnews protocol logfile (available with "-debug" option): | | [...] | [=>] GROUP local.test.maxartnum | [<=] 211 18 2147483646 2147483663 local.test.maxartnum group selected. | [=>] OVER 2147483646-2147483663 | [<=] 224 overview information follows: | [<= Expect multiline data block] | 2147483646 =?UTF-8?Q?Test_avec_num=c3=a9ro_=3c_2=5e31?= Franck <franck@email.invalid> Fri, 9 Dec 2022 07:31:13 +0100 <ALCjO/PYBcs@news.spitfire-nntp.fr> 1146 1 Xref: news.spitfire-nntp.fr local.test.maxartnum:2147483646 | [...] | 2147483663 Re: Test avec =?ISO-8859-1?Q?num=E9ro?= > 2^31 Michael =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@gmx.net> Tue, 20 Dec 2022 20:52:59 +0100 <AABjohKbFE0AADRD.A3.flnews@WStation7.micha.freeshell.org> <AcdzNoTLEUM@news.spitfire-nntp.fr> <DLSTsU01j0o@news.spitfire-nntp.fr> 1317 9 Xref: news.spitfire-nntp.fr local.test.maxartnum:2147483663 | [=>] ARTICLE 2147483663 | [<=] 220 2147483663 <AABjohKbFE0AADRD.A3.flnews@WStation7.micha.freeshell.org> article follows: | [<= Expect multiline data block] | Path: news.spitfire-nntp.fr!.POSTED!not-for-mail | Message-ID: <AABjohKbFE0AADRD.A3.flnews@WStation7.micha.freeshell.org> | From: Michael =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@gmx.net> | Newsgroups: local.test.maxartnum | Subject: Re: Test avec =?ISO-8859-1?Q?num=E9ro?= > 2^31 | Date: Tue, 20 Dec 2022 20:52:59 +0100 | [...]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads