Article View: news.software.nntp
Article #30038Re: REPOST: Re: Content-Transfer-Encoding: binary
From: Matt Dillon
Date: Sun, 26 Jul 1998 00:00
Date: Sun, 26 Jul 1998 00:00
61 lines
3541 bytes
3541 bytes
:In article <6pfml1$jca$1@unlnews.unl.edu>,
:Greg Berigan <gberigan@cse.unl.edu> wrote:
:>In news.software.readers, bt@templetons.com (Brad Templeton) wrote:
:>>Brian Edmonds <bedmonds@cs.ubc.ca> wrote:
:>>>Clayton O'Neill <usenet@oneill.net> writes:
:>
:>>>>> Raw binary would only reduce the size by 25%.
:>
:>>>> If I were downloading mb's of binaries at 28.8 or 33.6 I think I'd
:>>>> switch.
:>
:>>> But most of these modems already do compression. In my experience this
:>>> means you get only marginally better throughput of raw data over uu or
:>>> base64 encoded. It's not really noticeable.
:>
:>> It's still a pointless 33% increase in traffic over regular internet data
:>> pipes, and on disks. I'm pushing for binary as the last new transfer
:>> encoding.
:>
:>Unencoded binaries just aren't possible. There must be at least some
:>escaping of characters and character sequences. The CR, LF, and NUL
:>characters would have to be escaped, CRLFs would have to be put in the
:>message to comply with line length restrictions (every 72 bytes IMO) and
:>have no significance by receiving software. The character used to
:>escape these characters would need to be escaped itself.
Unencoded binaries are certainly possible. I know of no line length
restrictions... certainly Diablo, INN, DNews, and Cyclone don't have
any. You have to escape certain things in the protocol (LF->CRLF,
lines beginning with dots .->..) that the other side unescapes
(CRLF->LF, ..->. at the beginning of a line), and you have terminate
the article with a CRLF in order for the following '.' terminator to work.
You do NOT have to escape NULs or any other characters ( even though
some older software can't deal with them... well too bad! ).
It is certainly possible to maintain the article in binary form on both
the source and destination systems. The escaping only occurs in the
transfer protocol.
:>To be good for the net as a whole, 0x00 to 0x1F and 0x80 to 0x9F should
:>be escaped due to potential problems with these characters if they get
:>displayed raw.
This is a problem for the news client and should not be addressed in
the news transfer protocols or the NNTP protocol.
:>The time of legitimate, non-porn, non-spam binary content on Usenet is
:>virtually dead. See the ghost-towns of comp.binaries.*.
:>
Yup. Virtually all legitimate binary distributions have moved off of
USENET and onto the web.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Technical Details
Message-ID:
<6pg14r$97n$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <REPOST-16907.4840087891.982330322266.37emvkh3go.fsf@cascade.cs.ubc.ca> <6peocr$5tg@fugue.clari.net> <6pfml1$jca$1@unlnews.unl.edu>Show Full Headers
Complete Article Headers
Message-ID: <6pg14r$97n$1@flea.best.net> Subject: Re: REPOST: Re: Content-Transfer-Encoding: binary Date: Sun, 26 Jul 1998 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <REPOST-16907.4840087891.982330322266.37emvkh3go.fsf@cascade.cs.ubc.ca> <6peocr$5tg@fugue.clari.net> <6pfml1$jca$1@unlnews.unl.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 375104127 X-Trace: 901482463 27298 dillon 206.184.139.131 Organization: Best Internet Communications, Inc. Newsgroups: news.software.readers,news.software.nntp