🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69220

Re: nntp 503 server timeout

#69220
From: Jeffrey M. Vinocur
Date: Mon, 24 May 2004 22:58
72 lines
4140 bytes
In article <ng3sc.965$FC3.272@newssvr16.news.prodigy.com>,
Bill Davidsen  <davidsen@deathstar.prodigy.com> wrote:
>Jeffrey M. Vinocur wrote:
>> In article <40afa061$0$26354$9b4e6d93@newsread4.arcor-online.net>,
>> Florian Zschocke  <edv@zschocke-berlin.de> wrote:
>> 
>>>On my experience the most server just hang up. Only on one server ( out
>>>of four ) I get a 503 timeout response. 
>> 
>> By the above standard-to-be, the server with the response is
>> incorrect.
>
>I have no idea what anyone was thinking...

Well, there's an underlying principle, which is that the
server can't just send a response line out of the blue.  For
example, the server that sends 503 for a timeout would really
confuse a client that had *just* sent off some command (but the
command and the 503 timeout crossed each other on the network).

Note that other protocols have the same behavior; a transport
layer close to the connection is all that indicates a timeout.
(For HTTP/1.1 persistent connections, for example, see section
8.1.4 of RFC 2616.)


>>>Is there a way to ask the server about the timeout ?
>> 
>> No.
>> 
>> I suppose someone could write an extension for determining the
>> timeout, although I'm not sure server authors would want to
>> support it, seeing as the only reason to check the timeout is
>> presumably to circumvent it...
>
>Since it's very easy to keep the socket alive, anyone who thinks that 
>hiding information is in some way protecting the server is going to have 
>a benefit greater than the piss-me-off factor is working with users 
>other than those I've seen.

As far as I've seen, modern, well-written newsreaders are so good
at masking the timeout issue from users that it's pretty moot.

But as I said, there's nothing stopping anyone who thinks such an
extension would be useful from writing one and submitting it for
publication.  The mere fact that not all servers choose to
support it doesn't mean that it can't be published.


>As a matter of experience, long timeouts are more effective, although 
>that's not obvious. If the timeout is short a greater number of users 
>will use some form of faking use. If it's reasonable, say an hour, it 
>bites less often and users are less likely to take action which makes 
>the timeout completely ineffective.

I think the point is that any client that exposes the timeout to
the user is, well, pretty broken.  I mean, do you have any idea
what sort of timeouts HTTP/1.1 web servers use for persistent
connections?  I certainly don't -- my web browser takes care of
that for me; it keeps the connection as long as it thinks is
necessary, and if the server has closed the connection at some
point when my browser wants data, it just opens up another one.


I'm speaking for myself and off the cuff here, by the way.  Maybe
other working group people will disagree with me...



-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <c8tult$iqc$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!peer01.cox.net!peer02.cox.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <40afa061$0$26354$9b4e6d93@newsread4.arcor-online.net> <c8o8jl$h42$1@puck.litech.org> <ng3sc.965$FC3.272@newssvr16.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <c8tult$iqc$1@puck.litech.org>
Subject: Re: nntp 503 server timeout
Date: Mon, 24 May 2004 22:58:05 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <40afa061$0$26354$9b4e6d93@newsread4.arcor-online.net> <c8o8jl$h42$1@puck.litech.org> <ng3sc.965$FC3.272@newssvr16.news.prodigy.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!peer01.cox.net!peer02.cox.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 72
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1085439485 19276 66.218.0.75 (24 May 2004 22:58:05
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 24 May 2004 22:58:05 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)