🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by John Webb Wed, 23 Jul 1997 00:00
Diablo??: QUIT command from dnewslink
#19568
Author: 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

Re: Diablo??: QUIT command from dnewslink
#19587
Author: Matt Dillon
Date: Thu, 24 Jul 1997 00:00
15 lines
949 bytes
:In article <MPG.e408eb2a001e0399896b3@news.texas.net>,
:John Webb <johnw@logiclabs.com> wrote:
:>
:>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 will be in 1.11 :-)

					-Matt


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads