🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6970

Re: ANNOUNCE: ISC innfeed 0.7 (beta) another patch for streaming

#6970
From: Steve Bauer
Date: Fri, 26 Apr 1996 00:00
45 lines
2321 bytes
Joseph T. Klein (jtk@inap.net) wrote:
: I've implimented Steve Bauers connection.c patch (along with the others
: noted in my last posting). Inndfeed now operates for much longer and is
: moving more articles. So this makes my version 0.7.1pl3 beta.
: 
: I'll post the errors I get at the end of the day. 
: 
: NOTE: It is picky about getting unexpected messages from remote sites
: I ended up moving the troublesome sites to another type of feed.
: -- 
: /*Joseph T. Klein         * "...  not specialized to any area of application."
: * NAP.NET, LLC            *
: * phone  +1 414 747-8747  *              -- Brian Kernigan & Dennis Ritchie
: * http://www.nap.net     */                 The C Programming Language

Here is a patch to connection.c that fixes the problem with it asserting
because of the fact that streaming is false, yet maxCheck is > 1.

The problem was that the maxCheck should be reset to 1 when the connection
is reset.

Steve Bauer
Systems Programmer
SDSM&T
501 East Saint Joseph Street 
Rapid City, SD 57701

*** connection.c.old    Thu Apr 25 23:15:18 1996
--- connection.c        Thu Apr 25 23:16:03 1996
***************
*** 959,964 ****
--- 959,966 ----

    cxn->closing = false ;
    cxn->doesStreaming = false ;  /* who knows, next time around maybe... */
+   /* This needs to be set back to the init value of one since we aren't streaming*/
+   cxn->maxCheck=1;
    cxn->needsChecks = true ;
    cxn->flushing = false ;
    cxn->periodicClose = false ;
~


Technical Details
Message-ID: <4lpmj9$a15@news.sdsmt.edu>
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: <4kn70a$eiq@gw.home.vix.com> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.edu> <4lbkgl$h01@news.sdsmt.edu> <4levh7$lhs@news.nap.net> <4lil8m$bfd@news.sdsmt.edu> <317D4D9F.41C67EA6@inap.net>

Show Full Headers
Complete Article Headers
Message-ID: <4lpmj9$a15@news.sdsmt.edu>
Subject: Re: ANNOUNCE: ISC innfeed 0.7 (beta) another patch for streaming
Date: Fri, 26 Apr 1996 00:00:00 +0000
From: sbauer@krypton.sdsmt.edu (Steve Bauer)
References: <4kn70a$eiq@gw.home.vix.com> <4l5i1l$n2g@brasil.moneng.mei.com> <4l5sl2$k26@huron.eel.ufl.edu> <4lbkgl$h01@news.sdsmt.edu> <4levh7$lhs@news.nap.net> <4lil8m$bfd@news.sdsmt.edu> <317D4D9F.41C67EA6@inap.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-mail
X-Deja-AN: 151481636
Distribution: world
Organization: South Dakota School of Mines and Technology
Newsgroups: news.software.nntp