🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4724

INN & Xover with Xref:'s (was Re: TIN Xref patch (01/01))

#4724
From: Iain Lea
Date: Mon, 28 Jun 1993 14:34
39 lines
2761 bytes
Tom J Parry (parry@yoyo.cc.monash.edu.au) wrote:
: Iain Lea (iain.lea@anl433.erlm.siemens.de) wrote:
: >     
: > 32) Herman ten Brugge (herman@htbrug.hobby.nl)
: >     BUG. Xref: article headers are not processed so crossposted 
: >          articles are not marked as read in other newsgroups.
: >     FIX. tin.h newsrc.c group.c page.c - applied supplied patch.
;
: Iain, you said that you would be modifying the patch so it was not so disk
: intensive? Did you manage to do this?Killing a thread with a few followups
: is quite slow with the patch as posted.

Yes & no.  The reason it was so slow was that it was reopening 
every unread article and reading the Xref: line.  Not exactly
a free lunch considering I parse each article header to begin
with.  What I have done is expanded the XINDEX file format to
include the Xref: header (& Lines: header while I was at it).

By expanding the xindex file  format I have been able to  get
very good Xref processing for local spooldir & NNTP reference
with my XINDEX patch applied.

Now INN & XOVER is another story.  By default the xover index
files don't have Xref: headers generated therefore no Xref 
processing by default.  To get around this in tin I have added 
a 'XHDR Xref Artnum' to retrieve the Xref: line of an article.
This can turn out to be slightly expensive in large groups with
many unread articles (but a hell of a lot better than doing a
HEAD call for every unread article!).

To summarize - I have improved the code to the point that *I*
can live with it.  The best solution would be to get Rich Salz
to change INN's default overview.fmt to have Xref:'s generated
by default (comments Rich?).

Iain

--
iain.lea@erlm.siemens.de  +49-911-3089-407
Technical Details
Message-ID: <20mvi1$oth@Germany.EU.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!mcsun!Germany.EU.net!anl433!iain.lea
References: <1993Jun23.073355.22043@anl433.uucp> <1993Jun23.113328.29540@monu6.cc.monash.edu.au> <1993Jun23.202904.2308@anl433.uucp> <C94D3F.Hox@liverpool.ac.uk> <cliftonrC967Ay.2Dp@netcom.com> <C96L9n.GG9@liverpool.ac.uk> <1993Jun26.145052.7236@anl433.uucp> <1993Jun28.131323.9976@monu6.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Message-ID: <20mvi1$oth@Germany.EU.net>
Subject: INN & Xover with Xref:'s (was Re: TIN Xref patch (01/01))
Date: Mon, 28 Jun 1993 14:34:41 +0000
From: iain.lea@anl433.erlm.siemens.de (Iain Lea)
References: <1993Jun23.073355.22043@anl433.uucp> <1993Jun23.113328.29540@monu6.cc.monash.edu.au> <1993Jun23.202904.2308@anl433.uucp> <C94D3F.Hox@liverpool.ac.uk> <cliftonrC967Ay.2Dp@netcom.com> <C96L9n.GG9@liverpool.ac.uk> <1993Jun26.145052.7236@anl433.uucp> <1993Jun28.131323.9976@monu6.cc.monash.edu.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!mcsun!Germany.EU.net!anl433!iain.lea
Newsgroups: news.software.readers
Organization: TIN Support
Lines: 39
NNTP-Posting-Host: anl433.isdn.germany.eu.net
X-Newsreader: TIN [version 1.2 BETA PL1]