🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65197

Re: Slow getting headers of all messages in group

#65197
From: Curt Welch
Date: Thu, 08 May 2003 04:47
41 lines
2996 bytes
gbeggs@Canada.com (Gerry) wrote:
> Curt Welch <curt@kcwc.com> wrote:
>
> > > Both methods work fine, but they are not nearly as fast as other
> > > newsreaders.
> >
> > They use XOVER, not HEAD.  XOVER is a bulk dump of only the important
> > headers from all articles in the range.
>
> Thanks for the replies.
>
> I noticed XOVER, but also saw that it is an extension to the original
> NNTP protocol.
>
> I avoided it because I wanted to be sure that my client would be
> compatible with all NNTP servers it encountered.
>
> Is it pretty safe to assume that any news server I connect to will
> support these extended commands?

The RFCs don't do a very good job of documenting the real world.  People
are working on that problem.  I don't know which RFC you saw XOVER in, and
what other extended commands you are talking about so I can't say if they
are well supported or not.  XOVER however, is very very well supported.
You would be hard pressed to find a server which didn't support it.  Most
newsreaders not only use it, but I bet they don't even implement a back-up
system (like NEXT/HEAD) to deal with the problem if XOVER doesn't work.

What you should do is make sure your newsreader produces a good error
message if it finds a server which doesn't support XOVER (you will get an
5xx code back when you try to use it) so the fact can be sent back to you
(the author of the code) if somebody one day found such a server.  But
unless you have reason to do otherwise, I wouldn't bother with anything
other than XOVER for your first version.  If you want to write a lot of
code which may never get used, then you can drop back to using NEXT/HEAD if
the server doesn't support XOVER.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030508004745.617$zX@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!rip!news.webusenet.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <1fulso0.i1w65mh0muv4N%gbeggs@Canada.com> <20030507204322.223$mL@newsreader.com> <1fulv75.1vz6lju0tgumN%gbeggs@Canada.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030508004745.617$zX@newsreader.com>
Subject: Re: Slow getting headers of all messages in group
Date: Thu, 08 May 2003 04:47:45 +0000
From: curt@kcwc.com (Curt Welch)
References: <1fulso0.i1w65mh0muv4N%gbeggs@Canada.com> <20030507204322.223$mL@newsreader.com> <1fulv75.1vz6lju0tgumN%gbeggs@Canada.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!rip!news.webusenet.com!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com LZl3aMYziq-H_7vgt7ELvjA3B=znE6S7WYgD.TXkPKlE4__
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
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 40