Article View: news.software.nntp
Article #172Addendum to patch 4 for nntp
From: Stan Barber
Date: Mon, 15 May 1989 23:26
Date: Mon, 15 May 1989 23:26
50 lines
2324 bytes
2324 bytes
Brian Kantor sent me a letter informing me that 5XX codes were for
REALLY bad things like the CPU being on fire and such and wants
the 4XX codes use for out-of-space problems.
The following patch addresses this change. Patch 4 in the archive will be
changes to make this happen.
*** serve.c Sat Jan 14 23:22:40 1989
--- ../../nntp_patch/server/serve.c Mon May 15 18:23:05 1989
***************
*** 142,148 ****
if (space() < 0 && !canpost ) {
printf("%d %s NNTP server out of space. Try later.\r\n",
! ERR_FAULT, host);
(void) fflush(stdout);
#ifdef LOG
syslog(LOG_INFO, "%s no space", hostname);
--- 142,148 ----
if (space() < 0 && !canpost ) {
printf("%d %s NNTP server out of space. Try later.\r\n",
! ERR_GOODBYE, host);
(void) fflush(stdout);
#ifdef LOG
syslog(LOG_INFO, "%s no space", hostname);
***************
*** 177,183 ****
*/
if (num_groups == 0){ /* can't get a group list */
printf("%d %s NNTP server unavailable. Try later.\r\n",
! ERR_FAULT, host);
(void) fflush(stdout);
#ifdef LOG
syslog(LOG_INFO, "%s no groups", hostname);
--- 177,183 ----
*/
if (num_groups == 0){ /* can't get a group list */
printf("%d %s NNTP server unavailable. Try later.\r\n",
! ERR_GOODBYE, host);
(void) fflush(stdout);
#ifdef LOG
syslog(LOG_INFO, "%s no groups", hostname);
Stan internet: sob@bcm.tmc.edu Manager, Networking
Olan uucp: {rutgers,mailrus}!bcm!sob Information Technology
Barber Opinions expressed are only mine. Baylor College of Medicine
Technical Details
Message-ID:
<158@lib.tmc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!lib!watson.bcm.tmc.edu!sobShow Full Headers
Complete Article Headers
Message-ID: <158@lib.tmc.edu> Subject: Addendum to patch 4 for nntp Date: Mon, 15 May 1989 23:26:28 +0000 From: sob@watson.bcm.tmc.edu (Stan Barber) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!lib!watson.bcm.tmc.edu!sob Newsgroups: news.software.nntp Keywords: This is a patch to apply AFTER patch 4 to nntp 1.5 Sender: usenet@lib.tmc.edu Reply-To: sob@watson.bcm.tmc.edu (Stan Barber) Organization: Baylor College of Medicine, Houston, TX Lines: 49