🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27927

Re: Proof of Concept (was cancelling from the perl filter)

#27927
From: Silas Dunsmore
Date: Thu, 30 Apr 1998 00:00
31 lines
1811 bytes
In article <fo121.5129$Fu5.4163157@news2.teleport.com>,
Jeff Garzik <jgarzik@normnet.org> wrote:
>
>My question exactly.  Has this code been tested, even in the roughest
>sense?  IMHO callbacks and data returns via the embedded Perl interface
>are going to be the best way to go, until innd becomes multithreaded or
>something similar.

Well, I ran it for an hour last night.  :)  But no, many parts of this
haven't been properly tested.  It's a quick hack, proof-of-concept, done
because I couldn't sleep.  There are definate issues with buffering,
error handling, and whatnot.  Putting this code on a production machine
would be a foolish thing.

I would also prefer to have a callback mechanism or an explicit Perl
interface that does the same thing as the ctlinnd ICC interface.

But this was the code I had at hand.  And it does demonstrate one
possible way for the filter to affect the spool itself.

-- 
Later, eh?    Silas

Voice #1:      It's hot as hell under all these carpets.

Voice #2:      Christ, I think our sneakers are showing.

Voice #3:      Any you guys got any ludes?

Technical Details
Message-ID: <6iao1d$m6h$1@warez.psyber.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
References: <ErJo4q.50J@ferret.ocunix.on.ca> <6i9ggc$aok$1@warez.psyber.com> <373eevwd9e.fsf@cascade.cs.ubc.ca> <fo121.5129$Fu5.4163157@news2.teleport.com>

Show Full Headers
Complete Article Headers
Message-ID: <6iao1d$m6h$1@warez.psyber.com>
Subject: Re: Proof of Concept (was cancelling from the perl filter)
Date: Thu, 30 Apr 1998 00:00:00 +0000
From: silasd@user.psyber.com (Silas Dunsmore)
References: <ErJo4q.50J@ferret.ocunix.on.ca> <6i9ggc$aok$1@warez.psyber.com> <373eevwd9e.fsf@cascade.cs.ubc.ca> <fo121.5129$Fu5.4163157@news2.teleport.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: 349244715
Organization: Psyberware Internet Access
Newsgroups: news.software.nntp