🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19568

Diablo??: QUIT command from dnewslink

#19568
From: John Webb
Date: Wed, 23 Jul 1997 00:00
32 lines
1581 bytes

I am running Diablo version 1.10 (quite happily, too). 

I have a question about the dnewslink program. It appears that it doesn't 
issue a QUIT command when it has finished sending a spool file; instead 
it looks like it just closes the connection. This hasn't been a problem 
for me (with the various servers I've fed) until today. Today I added a 
feed to a custom "news server". This custom code expects to see a QUIT; 
otherwise it waits around for a timeout.

So my question is: does anyone know of a problem with adding a QUIT 
command to the dnewslink program ? Or put another way, is there a good 
reason that there isn't a QUIT command issued at completion of spool 
send? 

From a quick look at the code, line 745 looks like a likely candidate, 
changing:
   if ( cfd >= 0 )
      close( cfd );
to 
   if ( cfd >= 0 ){
      commandResponse( cfd, &ptr, "quit\r\n" );
      close( cdf );
   }
  
Am I missing something ?

   TIA,
   John

Technical Details
Message-ID: <MPG.e408eb2a001e0399896b3@news.texas.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

Show Full Headers
Complete Article Headers
Message-ID: <MPG.e408eb2a001e0399896b3@news.texas.net>
Subject: Diablo??: QUIT command from dnewslink
Date: Wed, 23 Jul 1997 00:00:00 +0000
From: johnw@logiclabs.com (John Webb)
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: 258427875
X-Complaints-To: news@news3.texas.net
X-Trace: news3.texas.net 869716787 19668 (None) 207.207.2.223
Organization: Logic Labs
Newsgroups: news.software.nntp