🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65217

Re: Slow getting headers of all messages in group

#65217
From: Curt Welch
Date: Thu, 08 May 2003 23:16
50 lines
3588 bytes
gbeggs@Canada.com (Gerry) wrote:
> I initially only worked only with the original RFC 977 located here:
> http://www.ietf.org/rfc/rfc0977.txt

Yeah, that's so old and out of date as to be almost useless.  It's a good
place to start however to understand the basic of what NNTP is all about
and most of what it documented in that is still valid even if the
documentation is lacking.

> But then I found another page which explained things slightly better and
> was in hypertext. It also describes several extensions to NNTP.
> Located here:
> http://www.mibsoftware.com/userkt/0099.htm

Many of those extensions are not safe to use - they will work only on a
very limited set of servers.  But most the ones that won't work are also
once you probably aren't even interested in.

I don't think I've ever seen a good document that trys to explain what
actually works and what doesn't work and why.

XHDR and XOVER are very common.  I'm not aware of any "real" servers that
fail to support those.  XPAT is supported in most servers as well, but it's
not as safe to assume it will be available.  It might be disabled even on
some servers which have support for it because of performance issues (users
can put a large load on the server with XPAT).

LIST ACTIVE is supported everywhere.  It extends the LIST command by
allowing an wildmat argument to limit the output.

LISTGROUP is probably supported everywhere but because the command doesn't
have any type of range arguments, it's mostly useless.

MODE READER is something you should do at the beginning of every session
and just ignore the return code.  There are INN servers which, depending on
how they are configured, need this to put the connection in the right mode.
It's a noop on most servers.  But here's something I'm not sure about.
Should you do a MODE READER before or after authentication?

That's about as far as most newsraders will go in terms of trying to use
extra commands if they are trying to work on a wide range of servers.

Mostly with NNTP programming, you have to write your code and then just
test it on a lot of servers to find out if it really works or not and if
any of the servers behave differently and break your code.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030508191650.836$5D@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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.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> <20030508004745.617$zX@newsreader.com> <1fundsy.1puhyz8e2y54sN%gbeggs@Canada.com>

Show Full Headers
Complete Article Headers
Message-ID: <20030508191650.836$5D@newsreader.com>
Subject: Re: Slow getting headers of all messages in group
Date: Thu, 08 May 2003 23:16:50 +0000
From: curt@kcwc.com (Curt Welch)
References: <1fulso0.i1w65mh0muv4N%gbeggs@Canada.com> <20030507204322.223$mL@newsreader.com> <1fulv75.1vz6lju0tgumN%gbeggs@Canada.com> <20030508004745.617$zX@newsreader.com> <1fundsy.1puhyz8e2y54sN%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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Ffi4b26f+dXEwGPqQ2Yxma_=eda4xP_LF@syeGCJnALN14s
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: 49