🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74226

Re: NNTP connection drop

#74226
From: Russ Allbery
Date: Mon, 11 Sep 2006 18:32
21 lines
2064 bytes
Florian Zschocke <edv@zschocke-berlin.de> writes:

> I am a little bit confused about a response message 400 (idle 
> timeout). Is that the common response for a connection timeout ?
> That would be the same if call you and tell you that I don't want to 
> talk to you. Why not just hang up ? 

Indeed, for an idle timeout, the server should simply close the connection
and not send any response.  Otherwise, the server would be breaking the
order in which the client and server are permitted to send messages.

The 400 response is for other types of errors.  It can be sent in response
to any client command and immediately after sending that response, the
server should close the connection.  An example would be if you want to
terminate connections because the server load is too high.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87pse2s186.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <3BC36EC6-0BC1-4885-8F41-32D75FC3DA3E%edv@zschocke-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <87pse2s186.fsf@windlord.stanford.edu>
Subject: Re: NNTP connection drop
Date: Mon, 11 Sep 2006 11:32:41 -0700
From: Russ Allbery <rra@stanford.edu>
References: <3BC36EC6-0BC1-4885-8F41-32D75FC3DA3E%edv@zschocke-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 21
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1157999561 23055 171.64.19.147 (11 Sep 2006
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)
Cancel-Lock: sha1:Ekn/t/FBFpiPHUNHJZGivNYztUM=