🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87106

Re: About compression with NNTP

#87106
From: Julien ÉLIE
Date: Wed, 21 Oct 2015 19:05
60 lines
3807 bytes
Hi Russ,

> Yeah, numbers are cheap so we should use something else.  I think I'd lean
> towards using whatever in the 2xx sequence is the next one that we don't
> think anyone has used for anything.  I haven't checked to see if that's
> 206.  (Do we have a comprehensive list of all the response codes in use
> anywhere?)

I don't know such a list (up-to-date and complete).  Maybe we could 
initialize it in our Trac wiki?  (though it would also mention codes 
implemented in other software than INN)

200 and 201 are defined in RFC 3977 for the initial greeting.

202 is defined in RFC 977 in response to SLAVE... but also in response 
to VERS defined in RFC 4707!

203 is defined in RFC 4644 in response to MODE STREAM.

204 is mentioned in "Bandwidth Usage Optimization for NNTP Protocol", a 
recent paper that I have just found via a Google search.  It is used in 
response to MODE STREAM with delayed/sized extension allowed. 
Basically, CHECK has an extra argument telling how many bytes the 
articles has; and in case the server defers the article, it adds an 
extra number after the response to CHECK, telling how many seconds the 
other peer should delay its next CHECK for that message-ID (the author 
of the paper says it is better than the currently 5 seconds hard-coded 
in innfeed).

205 is defined in RFC 3977 in response to QUIT.

207 is used by at least Diablo in response to MODE COMPRESS.

209 is defined in a draft for generic data extensions (SET and GET).



206 and 208 do not seem to be currently used (according to a quick 
Google search).  That's why I suggested the 206 response code.

I do not know whether 204 has already been used in real life, but as it 
is in "Bandwidth Usage Optimization for NNTP Protocol", maybe we should 
leave it.  They say they have successfully implemented it in INN but as 
far as I know, the patch has not been made public.


P.-S.:  We should probably consider adding a per-feed parameter in 
innfeed.conf to configure how many seconds innfeed should wait between 
two CHECKs.
Or ask them the patch in order to integrate it into INN, and rewrite 
their paper into an Internet-Draft?  Most of the work is already done in 
matter of wording in their paper.

-- 
Julien ÉLIE

« La vérité pure et simple est très rarement pure et jamais
   simple. » (Oscar Wilde)

Technical Details
Message-ID: <n08nm1$28d$1@news.trigofacile.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.(19219).mbox.7z!not-for-mail
References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <87h9lmva7f.fsf@hope.eyrie.org> <n069bq$am7$1@news.trigofacile.com> <87si55p83o.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <n08nm1$28d$1@news.trigofacile.com>
Subject: Re: About compression with NNTP
Date: Wed, 21 Oct 2015 21:05:36 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <87h9lmva7f.fsf@hope.eyrie.org> <n069bq$am7$1@news.trigofacile.com> <87si55p83o.fsf@hope.eyrie.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.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Oct 2015 19:05:37 +0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-161-208.w81-249.abo.wanadoo.fr:81.249.172.208";
 logging-data="2317"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.3.0
In-Reply-To: <87si55p83o.fsf@hope.eyrie.org>
X-Received-Body-CRC: 102512920
X-Received-Bytes: 3838