Thread View: news.software.nntp
4 messages
4 total messages
Started by Barry Bierbauch
Tue, 11 Aug 1998 00:00
Bad responses in INN 2,1?
Author: Barry Bierbauch
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
15 lines
1163 bytes
1163 bytes
Hmmm: Aug 11 02:32:57 marley innfeed[12016]: IBM-UK:2 cxnsleep unexpected streaming response for non-streaming connection: 438 <240698090440@none444.yet> 200 newsfeed.uk.ibm.net InterNetNews server INN 2.1 24-Jul-1998 ready (Yes, most of my feeds are non-streaming, and in a bit of time, I'll convert over so that all incoming and outgoing feeds are non-streaming) Barry Bouwsma Mendelova Zem�delsk� a Lesnick� Univerzita v Brn�, �esk� Republika
Re: Bad responses in INN 2,1?
Author: Grigori Vulis
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
32 lines
1591 bytes
1591 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
> 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.
Yeah, but that hides the response. I like those.
(void)sprintf(cp->Sendid.Data, "%d %s", NNTP_HAVEIT_VAL, perlrc);
NCwritereply(cp, cp->Sendid.Data);
ihave <gfhgjfkgsdhl@none568590.yet>
435 No
Much better =)
Re: Bad responses in INN 2,1?
Author: Andrew Gierth
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
35 lines
1776 bytes
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.
Re: Bad responses in INN 2,1?
Author: Grigori Vulis
Date: Tue, 11 Aug 1998 00:00
Date: Tue, 11 Aug 1998 00:00
20 lines
1357 bytes
1357 bytes
Barry Bierbauch <fluffy@int.tele.dk> wrote: > Hmmm: > > Aug 11 02:32:57 marley innfeed[12016]: IBM-UK:2 cxnsleep unexpected > streaming response for non-streaming connection: 438 > <240698090440@none444.yet> > > 200 newsfeed.uk.ibm.net InterNetNews server INN 2.1 24-Jul-1998 ready > > (Yes, most of my feeds are non-streaming, and in a bit of time, I'll > convert over so that all incoming and outgoing feeds are non-streaming) Yes, the command parsing is somewhat broken. One example: Send a CHECK with no message ID, and you'll get a 438 followed by some random article.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads