Article View: news.software.nntp
Article #24895Re: INN -C (don't process cancels) flag permits supersedes
From: Forrest J. Cavalier III
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
77 lines
3474 bytes
3474 bytes
Posted and e-mailed.
(CC'ed to inn-workers also, since there is a reference to an article
from August 1997 which is now seen to be incorrect....)
In article <87afdbmvou.fsf@erlenstar.demon.co.uk>, andrew@erlenstar.demon.co.uk
wrote...
>
>>>>>> "Forrest" == Forrest J Cavalier <mibsoft@epix.net> writes:
>
> >> This may also be an obscure CNFS bug, I cannot say. Apologies for
> >> this early report with no results yet, but I have this odd feeling
> >> that I'll be sleeping before doing much investigation into the
> >> supersedes problem and the mysterious unwritten and unpropagated
> >> articles.
>
> Forrest> Not only that, but DO_VERIFY_CANCELs processing is not
> Forrest> done....
>
> Forrest> The message below has a pointer to the code also.....
> Forrest>
http://www.mibsoftware.com/userkt/inn/dev/inn-workers/vol9708/xbj.htm
>
>I believe you are mistaken when you say:
>
> >> And I discover:
> >> Cool!, I can cancel any article I want using a Supersedes header,
> >> which is not subject to DO_VERIFY_CANCELS processing.
>
>Yes, ARTpost calls ARTcancel for supersedes headers, *but the verification
>code is in ARTcancel anyway*.
>
>All cancels and supersedes go through ARTcancel, which contains
>prominently at the beginning:
>
> if (!DoCancels && !Trusted) {
> return;
> }
>
>So either Barry is misreading what he's seeing, or its a CNFS bug or
>otherwise not part of the stock distribution.
>
>--
>Andrew.
After a couple of my poorly written (as well as mistaken) Usenet Messages
previously replying to Andrew's message, (which I cancelled within minutes, so
if you missed them, you didn't miss much), and a followup e-mail from Andrew,
I stand corrected....
I agree with Andrew...the information and testing on which I based
http://www.mibsoftware.com/userkt/inn/dev/inn-workers/vol9708/xbj.htm
...is apparently incorrect. When I wrote it, I thought I was testing on a
DO_VERIFY_CANCELs compilation of INN at the time. But apparently not.
- - - - -
Perhaps something good did become of my folly, however....Hopefully it
explains Barry's original observation....
In looking at the code for this round of messages, I noticed
that the timer ARTcncl is called when ARTcancel() is called, and this
happens regardless of the -C flag. As Andrew points out, the -C flag is
checked inside ARTcancel(). This would mean that even though "supersedes"
processing triggers a timer call, nothing would actually be cancelled.
Other notes from the recent look....
"ctlinnd cancel" will work regardless of the -C flag. And it will not
show up in the ARTcncl reports of the stock Joe Greco timer patch.
Forrest
Technical Details
Message-ID:
<68rf97$arr$1@news1.epix.net>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:
<Pine.BSF.3.96.980104164357.1189M-100000@coredump.int.tele.dk> <68pk2a$jku$1@news1.epix.net> <87afdbmvou.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <68rf97$arr$1@news1.epix.net> Subject: Re: INN -C (don't process cancels) flag permits supersedes Date: Mon, 05 Jan 1998 00:00:00 +0000 From: mibsoft@epix.net (Forrest J. Cavalier III) References: <Pine.BSF.3.96.980104164357.1189M-100000@coredump.int.tele.dk> <68pk2a$jku$1@news1.epix.net> <87afdbmvou.fsf@erlenstar.demon.co.uk> 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: 313055453 Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII Organization: Mib Software Newsgroups: news.software.nntp