🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Florian Zschocke Mon, 11 Sep 2006 10:29
NNTP connection drop
#74221
Author: Florian Zschocke
Date: Mon, 11 Sep 2006 10:29
10 lines
1389 bytes
Hello NG

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 ? 

Thank you for your time and help

Re: NNTP connection drop
#74226
Author: 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.
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