Article View: news.software.nntp
Article #16917Re: Cyclone generating an unusually large number of connects?
From: Jerry Aguirre
Date: Fri, 11 Apr 1997 00:00
Date: Fri, 11 Apr 1997 00:00
50 lines
2629 bytes
2629 bytes
In article <5ihv8s$4u6$5@darla.visi.com>, Mike Horwath <drechsau@nospam.visi.com> wrote: >Curt Welch <curt@kcwc.com> wrote: > >: I read someone's comments (in this group maybe) about a bug in >: INN (older version, 1.4 maybe?), where it would return the >: streaming mode code (239 I think), after the session had been >: switched from streaming back to non-streaming. INN was sending >: the wrong result code in that case. Sounds like this might be what >: your are seeing. > >: I just tested my INN 1.5.1 and it has the same behavior. >: The first IHAVE article returns code 235. TAKETHIS, returns 239, >: then IHAVE returns 239. > >Yep, 1.5.1 causes cyclone to return it as well. > >And correct, Diablo does not :) > >So, why does it happen? It is an error to mix streaming and non-streaming commands in the same session. I have yet to hear ANYONE advance ANY reason for switching back to IHAVE mode on a streaming connection. As to the reason ... Inside of innd it needs to figure out what kind of response to send back after it has done a history lookup or received an article. More, in streaming mode it needs to know the message-ID to return with the response code. On the first "check" or "takethis" command innd allocates a structure to hold the message ID. Later when preparing the response code it uses the presence of this structure to decide what format of response to send. If the "message-ID" structure has been assigned to a particular channel then the streaming form of the response is returned along with the message-ID saved in the structure. If there is no such structure allocated then the "ihave" form of status is returned. It would be simple to modify innd to eliminate the stream response code to an "ihave" message. My oppinion is to modify it to give an error response to all "ihave" messages once streaming has been negotiated. Don't change horses in mid stream :-)
Technical Details
Message-ID:
<5ik6hj$ivg$1@fes.whowhere.com>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:
<5ibfsd$9ol@pith.uoregon.edu> <yy33et1jpv8.fsf@velo.pp.vix.com> <4bUF$9W@NewsReader.Com> <5ihv8s$4u6$5@darla.visi.com>Show Full Headers
Complete Article Headers
Message-ID: <5ik6hj$ivg$1@fes.whowhere.com> Subject: Re: Cyclone generating an unusually large number of connects? Date: Fri, 11 Apr 1997 00:00:00 +0000 From: jerry@rigel.whowhere.com (Jerry Aguirre) References: <5ibfsd$9ol@pith.uoregon.edu> <yy33et1jpv8.fsf@velo.pp.vix.com> <4bUF$9W@NewsReader.Com> <5ihv8s$4u6$5@darla.visi.com> 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: 232190638 Organization: WhoWhere?; Mt. View, CA USA Newsgroups: news.software.nntp