🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30426

Re: Bad responses in INN 2,1?

#30426
From: Andrew Gierth
Date: Tue, 11 Aug 1998 00:00
35 lines
1776 bytes
>>>>> "Barry" == Barry Bierbauch <fluffy@int.tele.dk> writes:

 Barry> Hmmm:
 Barry> Aug 11 02:32:57 marley innfeed[12016]: IBM-UK:2
 Barry>  cxnsleep unexpected streaming response for non-streaming connection:
 Barru>  438 <240698090440@none444.yet>

 Barry> 200 newsfeed.uk.ibm.net InterNetNews server INN 2.1 24-Jul-1998 ready

 Barry> (Yes, most of my feeds are non-streaming, and in a bit of time, I'll
 Barry> convert over so that all incoming and outgoing feeds are non-streaming)

Here is the bug, in nc.c, function NCihave:

#if defined(DO_PERL)
    /*  invoke a perl message filter on the message id */
    if ((perlrc = (char *)HandleMessageID(p)) != NULL) {
...
!!	(void)sprintf(cp->Sendid.Data, "%d %s", NNTP_ERR_GOTID_VAL, p);
!!	NCwritereply(cp, cp->Sendid.Data);
	return;
    }
#endif

That use of "NNTP_ERR_GOTID_VAL" (which is 438) is incorrect, should
probably be

	NCwritereply(cp, NNTP_HAVEIT);

in place of the two marked lines.

-- 
Andrew.

Technical Details
Message-ID: <877m0g47h4.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
References: <Pine.BSF.3.96.980811023532.1712A-100000@coredump.int.tele.dk>

Show Full Headers
Complete Article Headers
Message-ID: <877m0g47h4.fsf@erlenstar.demon.co.uk>
Subject: Re: Bad responses in INN 2,1?
Date: Tue, 11 Aug 1998 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <Pine.BSF.3.96.980811023532.1712A-100000@coredump.int.tele.dk>
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: 379904296
X-Mayan-Date: Long count = 12.19.5.7.12; tzolkin = 8 Eb; haab = 5 Yaxkin
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp