Article View: news.software.nntp
Article #9908How should nnrpd break off a connection?
From: Michael Shields
Date: Tue, 06 Aug 1996 00:00
Date: Tue, 06 Aug 1996 00:00
17 lines
1175 bytes
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.
Technical Details
Message-ID:
<4u7u6n$b64@hermes.crosslink.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-mailShow Full Headers
Complete Article Headers
Message-ID: <4u7u6n$b64@hermes.crosslink.net> Subject: How should nnrpd break off a connection? Date: Tue, 06 Aug 1996 00:00:00 +0000 From: shields@crosslink.net (Michael Shields) 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: 172484449 Organization: CrossLink Internet Services Newsgroups: news.software.nntp