🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Michael Shields Tue, 06 Aug 1996 00:00
How should nnrpd break off a connection?
#9908
Author: Michael Shields
Date: Tue, 06 Aug 1996 00:00
17 lines
1175 bytes
I'm setting up a pool of news read machines and want to be able to shut
one down and have the nnrpd processes die (on SIGTERM) in such a way
that clients just reconnect, getting another mirrored server.  However,
NNTP doesn't seem to have a way to avoid the lockstep command/response
model.

In INN (1.4unoff4), when nnrpd wants to close a connection on its own
initiative because of a client timeout, it sends a 503.  I patched it to
do the same on a SIGTERM, but trn isn't happy with that.

What ought to be done here?  Is there any approved way for the server to
indicate that it wants to shut down the connection?
-- 
Shields, CrossLink.

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