🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #201345

Re: [Slrn] Cancel-Lock header

#201345
From: Robert Grimm
Date: Tue, 03 Jul 2007 07:07
42 lines
3368 bytes
Carl Drud <carl.drud@myrealbox.com> wrote:
> On 2007-06-30, Whiskers wrote:
>> Try having slrn set the MID instead of Leafnode, and disabling slrn's 
>> use_recommended_msg_id.  

> I have tried that. In fact I have tried every combination I can think
> of. ;-)

It is clearly a slrn problem. I also tried to post to news.individual
directly, with use_recommended_msg_id and also with generate_message_id.

Seen with ddd:
In slrn_post_file Cancel-Lock: is inserted twice. For some reason, after
inserting the Message-Id a->cline->buf contains 
"Cancel-Lock: sha1:(generated canlock)".

I made the following changes, and it looks ok. (see my headers,
especially Cancel-Lock:)
#v+
--- /tmp/post.c 2007-07-03 08:47:41.461098455 +0200
+++ src/post.c  2007-07-02 08:02:38.000000000 +0200
@@ -1587,8 +1587,8 @@
                            a->cline->buf=slrn_safe_malloc(14+strlen(canlock));
                            sprintf(a->cline->buf, "Cancel-Lock: %s", canlock);
                            SLFREE (canlock);
-                           Slrn_Post_Obj->po_puts(a->cline->buf);
-                           Slrn_Post_Obj->po_puts("\n");
+                           /*Slrn_Post_Obj->po_puts(a->cline->buf);
+                           Slrn_Post_Obj->po_puts("\n");*/
                            a->cline=a->cline->next;
                         }
 #endif /* SLRN_HAS_CANLOCK */
#v-

but I am sure this is only playing with symptoms. 

My skills are limited, but I hope this can point someone to the bug.

Rob
-- 
"Tell me why (and how) are all the stupid people breeding"
	      The Idiots are taking over     --NOFX
Technical Details
Message-ID: <q59pl4xpfv.ln2@news.lan.robgri.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <kf3dl4-oo9.ln1@cdnews.my-fqdn.de> <20070628175628.4E68.1.NOFFLE@ID-107770.user.individual.net> <lfadl4-mpe.ln1@cdnews.my-fqdn.de> <20070628203146.4E68.6.NOFFLE@ID-107770.user.individual.net> <4akdl4-23i.ln1@cdnews.my-fqdn.de> <20070628215059.4E68.8.NOFFLE@ID-107770.user.individual.net> <p0kfl4-r69.ln1@cdnews.my-fqdn.de> <20070629182046.386F.a.NOFFLE@ID-107770.user.individual.net> <slrnf8alnh.7m6.pjr@pjr.gotdns.org> <eu1gl4-566.ln1@cdnews.my-fqdn.de> <slrnf8aps0.7m6.pjr@pjr.gotdns.org> <tjkgl4-j2g.ln1@cdnews.my-fqdn.de> <20070630131305.332F.0.NOFFLE@ID-107770.user.individual.net> <q6akl4-k66.ln1@cdnews.my-fqdn.de>

Show Full Headers
Complete Article Headers
Message-ID: <q59pl4xpfv.ln2@news.lan.robgri.de>
Subject: Re: [Slrn] Cancel-Lock header
Date: Tue, 03 Jul 2007 09:07:06 +0200
From: Robert Grimm <spam@robgri.de>
References: <kf3dl4-oo9.ln1@cdnews.my-fqdn.de> <20070628175628.4E68.1.NOFFLE@ID-107770.user.individual.net> <lfadl4-mpe.ln1@cdnews.my-fqdn.de> <20070628203146.4E68.6.NOFFLE@ID-107770.user.individual.net> <4akdl4-23i.ln1@cdnews.my-fqdn.de> <20070628215059.4E68.8.NOFFLE@ID-107770.user.individual.net> <p0kfl4-r69.ln1@cdnews.my-fqdn.de> <20070629182046.386F.a.NOFFLE@ID-107770.user.individual.net> <slrnf8alnh.7m6.pjr@pjr.gotdns.org> <eu1gl4-566.ln1@cdnews.my-fqdn.de> <slrnf8aps0.7m6.pjr@pjr.gotdns.org> <tjkgl4-j2g.ln1@cdnews.my-fqdn.de> <20070630131305.332F.0.NOFFLE@ID-107770.user.individual.net> <q6akl4-k66.ln1@cdnews.my-fqdn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: Disorganized
Lines: 42
Reply-To: Robert Grimm <rob@news.robgri.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 1YBlX5SPMQxK4S/i/EYwIQlAGW4u3HUihzQ2awDcE7QcnLh7Cc
X-Orig-Path: news.lan.robgri.de!not-for-mail
Cancel-Lock: sha1:/tcwVzW928KZDMeDBAIdGhgF64M=
 sha1:p55pf7q8E5j4bPm4CqG2JMAUTPw=
Mail-Copies-To: nobody
User-Agent: slrn/0.9.8.1pl2.2 (Linux)