🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39660

Re: Mixing headerfeed with a normal feed in diablo

#39660
From: Stephen R. van den Berg
Date: Sun, 05 Sep 1999 00:00
42 lines
2800 bytes
Joe Greco <jgreco@ns.sol.net> wrote:
>You _can_ feed Diablo with a header only feed, but I think it's almost
>invariably a mistake to try what you're doing:  It would mean that Diablo
>would need to know that it could only feed those out to feeds that are
>marked "header-only", something Diablo doesn't know about right now in
>the main process.  It also means that ARTICLE <x> retrievals would need to
>fail on header-only articles, else your dreaderd's would see interesting 
>behaviours when accessing an article that was on spool as header-only.  
>This seems like a plan with lots of inherent evilness, particularly if you
>mess up and start pushing a feed containing some header-only articles back
>to Usenet peers.

I did some further digging in Diablo.  Guess what I found:

            if (headerOnly)
	        h.exp |= EXPF_HEADONLY;

All over the place.  Even in the history file already.  Seems like someone
(Matt?) thought ahead.  Many thanks.

Well, this seems to take care of the forced failures of ARTICLE retrievals
of header-only articles.  As it seems, this almost guarantees that the
basic functionality of my configuration should already work.

In order to optimise performance some minor tweaks might still be in order:
- Checking to see if full articles take precedence over header only ones
  which have already arrived.
- Adding the capability to mark servers to be non-cacheable in dserver.hosts.
- Allow for a uucp-batcher that uses dreaderd as a fall-back when it
  encounters a head-only article, or, alternately, change the uucp-batcher to
  use dreadart and fix dreadart to fall back to using dreaderd when it
  encounters a head-only article.

"You just drank a potion of 'Increase luck'; you feel luckier."
(It has been a while since I've played it, please excuse any inaccuracies :-).
-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).
"Real Life?  I've played that game.  The plot stinks but the
 graphics are awesome."

Technical Details
Message-ID: <7qu0lp$vvr$1@zeus.fw.cuci.nl>
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
References: <7qrmlp$i0u$1@zeus.fw.cuci.nl> <brad-0509990100500001@dialup989.brussels2.skynet.be> <7qsibf$5qf$1@zeus.fw.cuci.nl> <37d1f171$0$447@news.execpc.com>

Show Full Headers
Complete Article Headers
Message-ID: <7qu0lp$vvr$1@zeus.fw.cuci.nl>
Subject: Re: Mixing headerfeed with a normal feed in diablo
Date: Sun, 05 Sep 1999 00:00:00 +0000
From: srb@cuci.nl (Stephen R. van den Berg)
References: <7qrmlp$i0u$1@zeus.fw.cuci.nl> <brad-0509990100500001@dialup989.brussels2.skynet.be> <7qsibf$5qf$1@zeus.fw.cuci.nl> <37d1f171$0$447@news.execpc.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: 521329751
X-Trace: newspost.cuci.nl 936543739 5975 10.0.0.3
Organization: Cubic Circle
Newsgroups: news.software.nntp