🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15655

Re: Keep-alive

#15655
From: James Brister
Date: Sat, 08 Mar 1997 00:00
28 lines
1756 bytes
vision@halcyon.com (Andy Kriger) writes:

> I am working on a newsreader client and my news server has a 30 second
> timeout. This mean repeated connecting. My current newsreader (Free
> Agent) has a keep-alive option. Is there a standard keep-alive message
> or is this as simple as sending a period and ignoring the "500 What?"
> response.

Don't do that. The timeouts are there for a reason -- to reduce resource
consumption on the server when someone walks away from their computer for a
couple hours and forgets to close their newsreader. It will also defeat PPP
idle timeouts and keep telephone connections open, which for people who pay
for all phone calls by the minute (most of the free world), will be
aggravating to say the least.

30 seconds is the default timeout for the first command, after that the
timeout is 10 minutes. If you force the connection to stay open then you'll
be adding unnecessary burden on the news server. If Free Agent issues
unecessary commands just to keep the link open then that's pretty
unneighbourly of it.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Technical Details
Message-ID: <yy3wwriovjv.fsf@velo.pp.vix.com>
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
References: <5fqm34$50o$1@brokaw.wa.com>

Show Full Headers
Complete Article Headers
Message-ID: <yy3wwriovjv.fsf@velo.pp.vix.com>
Subject: Re: Keep-alive
Date: Sat, 08 Mar 1997 00:00:00 +0000
From: James Brister <brister@vix.com>
References: <5fqm34$50o$1@brokaw.wa.com>
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: 224040495
Organization: Internet Software Consortium
Newsgroups: news.software.nntp