Article View: news.software.nntp
Article #87993Re: LIST ACTIVE low & high water limits and wraparound
From: Doc O'Leary
Date: Sun, 21 Jul 2019 15:32
Date: Sun, 21 Jul 2019 15:32
47 lines
3246 bytes
3246 bytes
For your reference, records indicate that news@zzo38computer.org.invalid wrote: > Mateusz Viste <mateusz@wont.tell> wrote: > > > > Unfortunately I was unable to find any description of the low water and > > high water values - how high are they allowed to grow? Could they wrap > > over time? From an implementation point of view, this makes me wondering > > about the numeric type that these marks should be stored... a 16-bit > > integer is certainly too small, but would an unsigned 32-bit integer be > > okay? > > As far as I understand, the RFC requires that an article number is never > reused and that new articles have higher numbers than older articles > (according to the time the articles are first received on the server). > Section 6 requires 31-bit integers to be used for article numbers (and > zero is not a valid article number). I donβt know what you people are reading, but the version of RFC3977 I have says this in Section 6: Article numbers MUST lie between 1 and 2,147,483,647, inclusive. The client and server MAY use leading zeroes in specifying article numbers but MUST NOT use more than 16 digits. In some situations, the value zero replaces an article number to show some special situation. Note that it is likely that the article number limit of 2,147,483,647 will be increased by a future revision or extension to this specification. While servers MUST NOT send article numbers greater than this current limit, client and server developers are advised to use internal structures and datatypes capable of handling larger values in anticipation of such a change. No mention of bit lengths, and explicit advice to implement a way that handles numbers larger than the current spec supports. Best practice is probably to go with a 64-bit value and accept that any large server/group might be operating out of spec. Either an RFC update is issued, or Usenet continues to fade away as an open standard. -- "Also . . . I can kill you with my brain." River Tam, Trash, Firefly
Technical Details
Message-ID:
<qh20hr$b5u$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<5cd011d5$0$15174$426a74cc@news.free.fr> <1563663361.bystand@zzo38computer.org>Show Full Headers
Complete Article Headers
Message-ID: <qh20hr$b5u$1@dont-email.me> Subject: Re: LIST ACTIVE low & high water limits and wraparound Date: Sun, 21 Jul 2019 15:32:11 +0000 From: Doc O'Leary <droleary@2017usenet1.subsume.com> References: <5cd011d5$0$15174$426a74cc@news.free.fr> <1563663361.bystand@zzo38computer.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: Subsume Technologies, Inc. Lines: 45 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 21 Jul 2019 15:32:11 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="98f1a6fc252ead0f6423565658d42559"; logging-data="11454"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TJfwR8vUwjpxTsRbqt9eWGahNN1vCYl8=" User-Agent: com.subsume.NNTP/1.0.0 Cancel-Lock: sha1:WQ8dc+BESWOZIP64Zsh+CJYXo7Y= X-Received-Bytes: 3246 X-Received-Body-CRC: 2949676712