πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87102

Re: About compression with NNTP

#87102
From: Russ Allbery
Date: Tue, 20 Oct 2015 21:01
30 lines
2191 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> No, it is not protocol-compatible.
> It was intended for feeds.

> [C] MODE COMPRESS
> [S] 207 compression enabled
> [C*] CHECK <a@b>
> [S] 238 <a@b>
> [C*] TAKETHIS <a@b>
> [C*] (...article...CRLF.CRLF)
> [S] 239 OK

> Only [C*] are compressed.  Server responses are never compressed with
> MODE COMPRESS.  So it probably means that we should take another
> response code than 207...  Perhaps 206?  Or 250?

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?)

-- 
Russ Allbery (eagle@eyrie.org)              <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: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <87si55p83o.fsf@hope.eyrie.org>
Subject: Re: About compression with NNTP
Date: Tue, 20 Oct 2015 14:01:47 -0700
From: Russ Allbery <eagle@eyrie.org>
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>
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: The Eyrie
Lines: 28
NNTP-Posting-Host: 96.90.234.101
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: usenet-its.stanford.edu 1445374907 13922 96.90.234.101 (20 Oct 2015 21:01:47 GMT)
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:bzdKhLoorY3QX1t7wzUNPKj+b24=
X-Received-Body-CRC: 1782355220
X-Received-Bytes: 2109