Article View: news.software.nntp
Article #34794Re: NNTP revision - it's about time?
From: Curt Welch
Date: Sun, 17 Jan 1999 00:00
Date: Sun, 17 Jan 1999 00:00
35 lines
2447 bytes
2447 bytes
ptomblin@xcski.com (Paul Tomblin) wrote: > In a previous article, curt@kcwc.com (Curt Welch) said: > >that it exists or does not exist). This prevents the server from having > >to do any extra work to count the number of articles in the group or > >return a valid low article number. > > I thought those numbers came out of the active file? The GROUP command returns three numbers, the low article, the high article, and the total number of articles in the group. Only the high number and low number are in the active file - and the low number is likely to be wrong (or at least not very accurate) on many servers. The article count doesn't need to be accurate - it can just be calculated from the low and high numbers, but because it's returned by the protocol many servers will calculate it correctly. In inn's case for the old format, it would open the directory for the group and scan it to count the number of articles there and I think it would return a "true" low article number as well (not the one that's in the active file). With cycbuf formats which in effect expire articles continuously it gets much more difficult to calculate the low article number and the article count - I think you have to do something like try to read each article to see if it has been overwritten. I'm not sure what you have to do to figure out which ones have been canceled. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19990117140122.079$s4@newsreader.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<77nr30$15t$1@taliesin.netcom.net.uk> <77qfel$kb@meow.invalid> <77rs3n$njp$1@east44.supernews.com> <19990117010614.961$b1@newsreader.com> <77sr6r$qlt$1@canoe.xcski.com>Show Full Headers
Complete Article Headers
Message-ID: <19990117140122.079$s4@newsreader.com>
Subject: Re: NNTP revision - it's about time?
Date: Sun, 17 Jan 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <77nr30$15t$1@taliesin.netcom.net.uk> <77qfel$kb@meow.invalid> <77rs3n$njp$1@east44.supernews.com> <19990117010614.961$b1@newsreader.com> <77sr6r$qlt$1@canoe.xcski.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 433716451
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp