Article View: news.software.nntp
Article #88292Re: Wrong output for GROUP/LISTGROUP commands
From: Aioe
Date: Mon, 30 Mar 2020 20:29
Date: Mon, 30 Mar 2020 20:29
24 lines
2185 bytes
2185 bytes
Il Mon, 30 Mar 2020 19:49:29 +0200, Julien ΓLIE ha scritto: > This is a valid NNTP answer. The use case is article reinstatement. Had > the answer been "211 1 2 2 local.test2" or "211 0 3 2 local.test2", I'm not sure I understand the second field of group output should represent the number of articles in the group. It should be "0" if no articles are available. if the output of GROUP reports a number of articles greater than zero when there are none, a script could expect to find some article in the group so it will try to find it. This forces the script to do a useless job which is expensive even for the server just because the value provided by GROUP is unreliable. From my point of view, it does not matter which values ββthe lowmark and the highmark assume, I am only interested in the number of messages in the group. Following the strategy used by INN, the only way to know how many messages there are in a group is to use the (X)OVER or LISTGROUP commands which produce a large amount of output data and are expensive for the server if the group has many articles. imho, if there are no articles in a group, that value must be zero. In any case, the value reported by GROUP should be equal to the number of lines of the LISTGROUP output after the banner and before the dot.
Technical Details
Message-ID:
<r5tkqe$633$4@gioia.aioe.org>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:
<r5se8o$ufl$1@gioia.aioe.org> <r5tbff$niq$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <r5tkqe$633$4@gioia.aioe.org> Subject: Re: Wrong output for GROUP/LISTGROUP commands Date: Mon, 30 Mar 2020 20:29:02 +0000 From: Aioe <estasi@aioe.org> References: <r5se8o$ufl$1@gioia.aioe.org> <r5tbff$niq$1@news.trigofacile.com> 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 Newsgroups: news.software.nntp Organization: Aioe.org NNTP Server Lines: 25 Nntp-Posting-Host: yE1OZUUB6fg8b4fgqreoVA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-Notice: Filtered by postfilter v. 0.9.2