Article View: news.software.nntp
Article #33534Re: INN and sockets
From: Fluffy
Date: Fri, 04 Dec 1998 00:00
Date: Fri, 04 Dec 1998 00:00
35 lines
2284 bytes
2284 bytes
Silas Dunsmore <silasd@user.psyber.com> wrote:
> Jeff Garzik's "MODE FILTER" suggestion potentially solves this by making
> the "filter feed" an entire new INND mode, with its own states and allowed
> commands & responses.
I looked at that after Russ reminded me that it was out there, but
decided pretty quickly not to intermingle this with mode filter. In
Jeff's proposal the behavior on the ID streams is site-dependent, and
I don't want to impose hardwired behavior on it just to accommodate
what amounts to implementation-specific make-believe multithreading.
> Garzik has demo code available... not ready for production use yet.
> You should be able to get the URL from Dejanews.
Yup, reviewed it. It does a little more than I want to do here, and
as above, I'm not crazy about hijacking a potentially cool feature for
parochial use.
> I must admit that I didn't really like the idea of write-access to the
> article buffer from the filter. Let's not make it _easy_ to alter
> articles, right?
Had to give it a shot, since there is a huge amount memcpying going on
in there. Passing along size hints to avoid the operation in the
worst cases makes for an okay second-best, I guess, but it just seems,
I dunno, just ugly.
I wish there was an easy way to work read-only access in there.
--
"Meow!"
--W.A. Mozart
Technical Details
Message-ID:
<747prt$auu$1@meowhost.meow.invalid>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-mailReferences:
<745m4r$7np$1@meowhost.meow.invalid> <877lw9i519.fsf@erlenstar.demon.co.uk> <746l0n$9bj$1@meowhost.meow.invalid> <747k5t$57m$1@news.psyber.com>Show Full Headers
Complete Article Headers
Message-ID: <747prt$auu$1@meowhost.meow.invalid> Subject: Re: INN and sockets Date: Fri, 04 Dec 1998 00:00:00 +0000 From: gerglery@usa.net (Fluffy) References: <745m4r$7np$1@meowhost.meow.invalid> <877lw9i519.fsf@erlenstar.demon.co.uk> <746l0n$9bj$1@meowhost.meow.invalid> <747k5t$57m$1@news.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 X-Deja-AN: 418497978 Mail-Copies-To: never X-Complaints-To: abuse@demon.net X-Mail2News-Path: news.demon.net!out2.ibm.net!meowhost.meow.invalid X-Trace: mail2news.demon.co.uk 912747222 mail2news:6491 mail2news mail2news.demon.co.uk Organization: Ruler of Usenet (all) X-URL: http://members.tripod.com/~gerglery/ X-P-Meow: Meow Newsgroups: news.software.nntp