🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #800

Re: fix for nntp 1.5.10 / GNUS problem

#800
From: Mike Berkley - 721-8752
Date: Wed, 21 Nov 1990 16:41
45 lines
2516 bytes
> On 21 Nov 90 03:21:57 GMT, cedman@golem.ps.uci.edu (Carl Edman) said:

CE> About the hack to fix it. I usually post it once a week in
CE> gnu.emacs.gnus (that is how often the problem comes up :-), but
CE> here it is:

CE> 2. Find where TIMEOUT is defined
CE> 3. Comment it out

CE> Negative consequence: There used to be a timeout for idle NNTP
CE> connections of about 2 hours. This is gone.  I (in fact this
CE> university) can live(and post) with this just fine, but your
CE> mileage may vary.

But this university cannot live with this fix - our administrator
(rightly) exhumed the buggy NNTP 1.5.10 after he found 86 nntpd's
running (no timeouts).

Vick Khera's fix is much more acceptable:

------------------------------------------------------------------------------
    *** /tmp/,RCSt1a13658	Mon Oct 29 14:16:52 1990
    --- serve.c	Fri Oct 26 11:44:52 1990
    ***************
    *** 126,131 ****
    --- 126,135 ----
      	(void) close(2);
      	(void) dup(0);
      	(void) dup(0);
    + 
    + #ifdef TIMEOUT
    + 	(void) setbuf(stdin, NULL);	/* Fix buggy select code */
    + #endif
  
  	/* If we're ALONE, then we've already opened syslog */
  
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Vick Khera     Gradual Student          Department of Computer Science
    ARPA:   khera@cs.duke.edu               Duke University
    UUCP:   ...!mcnc!duke!khera             Durham, NC 27706 (919) 660-6528
    -----------------------------------------------------------------------
------------------------------------------------------------------------------
Mike Berkley
mberkley@sanjuan@UVic.CA
Technical Details
Message-ID: <MBERKLEY.90Nov21164110@sanjuan.uvic.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!sol.UVic.CA!sol!mberkley
References: <1990Nov20.221152.10825@csn.org> <CEDMAN.90Nov20192202@lynx.ps.uci.edu>

Show Full Headers
Complete Article Headers
Message-ID: <MBERKLEY.90Nov21164110@sanjuan.uvic.ca>
Subject: Re: fix for nntp 1.5.10 / GNUS problem
Date: Wed, 21 Nov 1990 16:41:10 +0000
From: mberkley@sanjuan.uvic.ca (Mike Berkley - 721-8752)
References: <1990Nov20.221152.10825@csn.org> <CEDMAN.90Nov20192202@lynx.ps.uci.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!sol.UVic.CA!sol!mberkley
Newsgroups: news.software.nntp
Sender: news@sol.UVic.CA
Organization: University of Victoria
Lines: 44
In-Reply-To: cedman@golem.ps.uci.edu's message of 21 Nov 90 03:21:57 GMT
Nntp-Posting-Host: sanjuan.uvic.ca