Article View: news.software.nntp
Article #92760Re: High and low water marks vs active file
From: Julien ÉLIE
Date: Tue, 05 May 2026 19:39
Date: Tue, 05 May 2026 19:39
63 lines
3944 bytes
3944 bytes
Hi InterLinked, > But doesn't that still break if there are multiple cancels during > that period? Even the "official" way of doing it *can* theoretically > break. Yes, it seems so indeed. > Initially I was doing LOW = LAST + 1 and then changed to LOW = LAST > simply because INN had, but now that I understand this a bit better, I > think I might change back to LOW = LAST + 1 and just handle 2^31-1 > specially to prevent an illegal response (and also use 0 0 0 for an > empty group that never had any articles). It would work. > Aside from 2^31-1, is there ever a case where one would use this? As you speak about 2^31-1, I would like to tell that you should handle 2^64-1 article numbers by design. INN unfortunately does not, with tons of variables limited to that size. The idea is that a modern implementation should handle large article numbers, advertise it with the MAXARTNUM capability (not standardized), do not return large article numbers so as not to choke clients (last time I checked, Thunderbird froze with such large numbers), but return large article numbers if the client says it copes with them. By configuration, if instructed to do so, the server could use large article numbers even if the client does not use the MAXARTNUM capability. I once proposed in this newsgroup how it could be done: https://groups.google.com/g/news.software.nntp/c/4_KjHu9GlBg/ Some news clients implemented it (at least flnews and tin) as a proof of concept. Just to let you know of that as you seem to be interested in the subject :) > Presumably something behaved this way historically, just can't fathom > why... There were lots of different and exotic NNTP implementations at that time, and the RFC did its best not to declare them uncompliant as Russ explained. > There is obviously loss of information in that the client can't tell > these two cases apart. Sure, there is loss of information but I bet few people care about that. Newsreaders don't advertise differently an empty newsgroup which never received any article and an empty newsgroup which once received an article. If you care, that's fine, and have fun with your implementation :) -- Julien ÉLIE « Mes opinions ont peut-être changé, mais pas le fait que j'ai raison. » (Ashleigh Brilliant)
Technical Details
Message-ID:
<10tdh1p$2drb5$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:6808:a3d5:7dd4:e5a!not-for-mailReferences:
<10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org> <10t12o5$14bjd$1@dont-email.me> <10t8fss$2a1vp$4@news.trigofacile.com> <10t8hh9$38008$1@dont-email.me> <10tb0v0$2bu8u$1@news.trigofacile.com> <10tb6lg$110d$1@dont-email.me> <10tb8f3$2bu8u$2@news.trigofacile.com> <10tbaon$23gl$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!news.trigofacile.com!.POSTED.2001:861:3f81:7990:6808:a3d5:7dd4:e5a!not-for-mail From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> Newsgroups: news.software.nntp Subject: Re: High and low water marks vs active file Date: Tue, 5 May 2026 21:39:36 +0200 Organization: Groupes francophones par TrigoFACILE Message-ID: <10tdh1p$2drb5$1@news.trigofacile.com> References: <10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org> <10t12o5$14bjd$1@dont-email.me> <10t8fss$2a1vp$4@news.trigofacile.com> <10t8hh9$38008$1@dont-email.me> <10tb0v0$2bu8u$1@news.trigofacile.com> <10tb6lg$110d$1@dont-email.me> <10tb8f3$2bu8u$2@news.trigofacile.com> <10tbaon$23gl$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 5 May 2026 19:39:37 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:6808:a3d5:7dd4:e5a"; logging-data="2551141"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:viogWfqFfdKngHK3D9/uu4gi/3g= sha256:MjmFYUxJCCGX7IDk/3SQ9K6M6e+21aBe92QcRDSGp5M= sha1:ypJ3gjIc2lW5usjYSL4BPyap660= sha256:k6ymO0oTW8O/tRX/YKc0OEr71E/pYrvT/fxOS55AH/w= In-Reply-To: <10tbaon$23gl$1@dont-email.me>