Article View: news.software.nntp
Article #89845Re: Generic 403 NNTP response code for TAKETHIS
From: Russ Allbery
Date: Tue, 13 Dec 2022 23:08
Date: Tue, 13 Dec 2022 23:08
44 lines
3415 bytes
3415 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Incidentally, though TAKETHIS does not have a response code for a "retry
> later" in both RFC 2980 and 4644, I've just checked what Diablo does
> with TAKETHIS (which is to use 431 - the "retry later" of CHECK). And
> previously to the implementation of NNTP Version 2 in INN, it was using
> 436 (the "retry later" of IHAVE) - that I (wrongly) changed to 403. I'll
> fix it.
My recollection of the history of a lot of this is that the expectation is
that you use CHECK first, and servers really shouldn't be saying yes to
the CHECK and then deferring the article on TAKETHIS. Usually deferrals
are used because another peer has already sent CHECK for the same article
and therefore we'll *probably* get the article from them, but we might
not, so try again later just in case. After a TAKETHIS, well, you *have*
the article, so why defer it? You're not going to save any bandwidth; you
have already paid the transit cost and you have the whole article, so just
do whatever you're going to do, accept it or reject it, don't put it off.
I think the problem with this logic is that it was insufficiently
imaginative about why deferrals might happen. It was thinking of the case
where you're proactively deduplicating feeds so that you don't consume
more bandwidth than you need to, but not thinking about cases where, say,
the news server is consulting some external spam classification oracle
that's malfunctioning and thus wants you to send the message again later.
That said, one could also make an argument that news servers should be
prepared to spool those articles locally, rather than telling peers to
spool articles for them, if the article has already been sent. Deferring
after TAKETHIS runs the risk of multiplying the bandwidth consumed by that
article unnecessarily, so I think that's the logic behind reserving it for
really serious problems like "my disk went away and I can't store any
articles and I'm about to explode" sorts of things like 400. Short of
that, well, you have the article now, so I think the idea is that you
should put it somewhere and deal with your problems locally rather than
asking your peer to send it yet again.
(That being said, I don't think any news server actually *does* that.)
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87tu1yyk93.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<tn8ak2$2pnad$3@news.trigofacile.com> <877cyw5gca.fsf@hope.eyrie.org> <tnavq6$2rcn3$2@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87tu1yyk93.fsf@hope.eyrie.org> Subject: Re: Generic 403 NNTP response code for TAKETHIS Date: Tue, 13 Dec 2022 15:08:40 -0800 From: Russ Allbery <eagle@eyrie.org> References: <tn8ak2$2pnad$3@news.trigofacile.com> <877cyw5gca.fsf@hope.eyrie.org> <tnavq6$2rcn3$2@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: hope.eyrie.org; logging-data="29933"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:1Qbk6/ceBRspHszLPvscHM8YV7s=