Article View: news.software.nntp
Article #87953LIST ACTIVE low & high water limits and wraparound
From: Mateusz Viste
Date: Mon, 06 May 2019 10:52
Date: Mon, 06 May 2019 10:52
30 lines
2101 bytes
2101 bytes
Hello all, I am playing a little with the NNTP protocol these days, and I have some doubts about the 'LIST ACTIVE' command. RFC 3977 describes LIST ACTIVE as follows: > LIST ACTIVE returns a list of valid newsgroups and associated > information. If no wildmat is specified, the server MUST include > every group that the client is permitted to select with the GROUP > command (Section 6.1.1). Each line of this list consists of four > fields separated from each other by one or more spaces: > > o The name of the newsgroup. > o The reported high water mark for the group. > o The reported low water mark for the group. > o The current status of the group on this server. 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? Surely this problem has been tackled many times in the past. Any advice? Mateusz
Technical Details
Message-ID:
<5cd011d5$0$15174$426a74cc@news.free.fr>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-mailShow Full Headers
Complete Article Headers
Message-ID: <5cd011d5$0$15174$426a74cc@news.free.fr> Subject: LIST ACTIVE low & high water limits and wraparound Date: Mon, 06 May 2019 10:52:05 +0000 From: Mateusz Viste <mateusz@wont.tell> 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 User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lines: 28 Organization: Guest of ProXad - France NNTP-Posting-Date: 06 May 2019 12:52:05 CEST NNTP-Posting-Host: 82.64.0.151 X-Trace: 1557139925 news-3.free.fr 15174 82.64.0.151:33310 X-Complaints-To: abuse@proxad.net X-Received-Bytes: 2069 X-Received-Body-CRC: 3363760867