Article View: news.software.nntp
Article #18712Re: Control Group
From: Ken Lalonde
Date: Wed, 25 Jun 1997 00:00
Date: Wed, 25 Jun 1997 00:00
28 lines
1739 bytes
1739 bytes
Adding "!control*" to the overchan entry in newsfeeds
doesn't do what you want.
As I understand it, when a control message is posted to foo.bar, innd
marks all receiving sites by setting Sites[i].Sendit = TRUE. Let's
assume that set includes overchan. It then notices that this is a
cancel message that is not posted to "to.*", so it resets the list of
newsgroups to "control.cancel", then adds any sites that want that
group. The check for !control* is not honoured.
As a brute force workaround, I changed the last loop in
ARTpost(), near the end of innd/art.c, to read as follows:
/* And finally, send to everyone who should get it */
for (sp = Sites, i = nSites; --i >= 0; sp++)
if (sp->Sendit) {
/* Don't send control articles to overchan */
if (sp->Type == FTchannel && /* optimization */
Accepted && ControlHeader >= 0 &&
strchr(sp->FileFlags, FEED_OVERVIEW) != NULL)
continue;
TMRstart(TMR_SITESEND);
SITEsend(sp, &Data);
TMRstop(TMR_SITESEND);
}
Technical Details
Message-ID:
<5orqvk$7k@angel.uunet.ca>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:
<5ojg51$t4t@shell.monmouth.com> <5orcsn$fi9@news.bu.edu> <82bu4u4ocj.fsf@manic.eecs.umich.edu>Show Full Headers
Complete Article Headers
Message-ID: <5orqvk$7k@angel.uunet.ca> Subject: Re: Control Group Date: Wed, 25 Jun 1997 00:00:00 +0000 From: ken@angel.uunet.ca (Ken Lalonde) References: <5ojg51$t4t@shell.monmouth.com> <5orcsn$fi9@news.bu.edu> <82bu4u4ocj.fsf@manic.eecs.umich.edu> 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: 252527833 Distribution: inet Organization: UUNET Canada News Transport Newsgroups: news.software.nntp