🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36219

Re: INN2.2 incoming.conf ( bug? )

#36219
From: Heiko Schlichting
Date: Sun, 28 Mar 1999 00:00
28 lines
1673 bytes
Gregory Geller <gregg1@gate.net> writes:
> [innfeed.conf]
>Is there some limit to the amount of hosts I can put on a single hostname
>entry?

Unfortunately there is a limit and the limit is 255 bytes which often makes
problems. This should be dynamic and only limited by to amount of RAM but
at this time it isn't. The error message for long lines are often very
confusing (e.g. reporting problems with a host '}' in line 0). A workaround
is the following patch: it increases the limit to 8191 chars per line. A
real solution would be dynamic allocation of memory.

Heiko

--- rc.c.org    Wed Jan 27 16:27:29 1999
+++ rc.c        Tue Mar 16 22:30:58 1999
@@ -532,7 +532,7 @@
   register char *s;
   register char *t;
   char          *word;
-  static   char  buff[SMBUF];
+  static   char  buff[BIG_BUFFER]; /* HSG */
   register BOOL flag;
 
   if (*buff == '\0') {


Technical Details
Message-ID: <7dkart$fa9$1@fu-berlin.de>
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.A41.4.03.9903230922270.60706-100000@inca.gate.net>

Show Full Headers
Complete Article Headers
Message-ID: <7dkart$fa9$1@fu-berlin.de>
Subject: Re: INN2.2 incoming.conf ( bug? )
Date: Sun, 28 Mar 1999 00:00:00 +0000
From: heiko@cis.fu-berlin.de (Heiko Schlichting)
References: <Pine.A41.4.03.9903230922270.60706-100000@inca.gate.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: 459896861
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 922595005 15689 heiko 160.45.11.131
Organization: Freie Universitaet Berlin
X-Access: 16 17 19
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
NNTP-Posting-User: heiko
Newsgroups: news.software.nntp