🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85445

Re: NNTP API (Java)

#85445
From: Jeffrey M. Vinocur
Date: Sun, 17 Feb 2013 14:06
30 lines
2285 bytes
In article <7186v9-6i2.ln1@dur.bounceme.net>,
Thufir Hawat  <hawat.thufir@gmail.com> wrote:
>
>In concrete terms, let's say on day one the articles are numbered 1 to 
>1000 (no gaps) and articles numbered 900 to 1000 are fetched.  Then 100 
>new articles are posted upstream, bringing the highest article number to 
>1100.  However, let's say 50 articles expire, so there are now 1050 
>articles upstream, but the newest article for the group is numbered 1100.
>
>How does the downstream ?client? now know to request 100 new articles, 
>and which ones?  The downstream clients should request articles 1001 to 
>1100.

Please please go read RFC 3977.  You are being done a disservice
by the unclear/misleading/incorrect information in this Java
documentation.


>My concern is that the check for new articles (above) will see a *total* 
>of 1050 articles, conclude there are 50 new articles.

The number 1050 is irrelevant.  The server will report the newest
available article is number 1100, the client will try to download
the new 100, and pay no attention to whatever has happened with
articles it has already seen.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <kfqo5u$p3c$1@puck.litech.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!.POSTED!not-for-mail
References: <j204v9-5j2.ln1@dur.bounceme.net> <kfpn81$8em$1@dont-email.me> <7186v9-6i2.ln1@dur.bounceme.net>

Show Full Headers
Complete Article Headers
Message-ID: <kfqo5u$p3c$1@puck.litech.org>
Subject: Re: NNTP API (Java)
Date: Sun, 17 Feb 2013 14:06:54 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <j204v9-5j2.ln1@dur.bounceme.net> <kfpn81$8em$1@dont-email.me> <7186v9-6i2.ln1@dur.bounceme.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 30
Sender: jeff@litech.org
NNTP-Posting-Host: mail.litech.org
X-Trace: puck.litech.org 1361110014 25708 204.16.242.142 (17 Feb 2013 14:06:54
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 17 Feb 2013 14:06:54 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)
X-Original-Bytes: 2030