Article View: news.software.nntp
Article #29864Re: Content-Transfer-Encoding: binary
From: Clayton O'Neill
Date: Thu, 16 Jul 1998 00:00
Date: Thu, 16 Jul 1998 00:00
52 lines
3211 bytes
3211 bytes
On 16 Jul 1998 17:42:43 GMT, Curt Welch <curt@kcwc.com> wrote: |[news.software.nntp added to Newsgroups:] | |usenet@oneill.net (Clayton O'Neill) wrote: |> I've been wondering for a while why an effort hasn't been made to make |> readers and transport servers 8-bit clean and switch to |> Content-Transfer-Encoding: binary for alt.binaries.*. Most of the |> transport |> software is 8 bit clean now, but I imagine a lot of the readers aren't, |> but I imagine we'd see a mass conversion to any readers that did support |> binary correctly, if for no other reason because of the decrease in |> download times. | |Raw binary would only reduce the size by 25%. I doubt if that's enough of |a savings to cause any type of conversion. I think the problems we would |see when people posted with a raw binary format would far outweigh the |savings in download times. If I were downloading mb's of binaries at 28.8 or 33.6 I think I'd switch. Hell, people went out and bought 33.6 and 56k modems for less gain in many cases. |And just because servers are 8 bit clean doesn't mean they can correctly |deal with raw data. INN can't. NNTP is a line oriented protocol. When |you feed nnrpd an article with a POST command it must have lines less |than 1000 characters in length. If you feed it raw data, everything past |character 1000 is ignored until it hits EOF or sees a \r\n. I don't |think Usenet is ready for raw binary data in articles. You would really |have to modify NNTP to include a Content-Length somehow on POST and IHAVE |and TAKETHIS commands (or expect the servers to parse (and trust) the |Mime headers - which is not the way to go). INN 2.0, Cyclone and Typhoon treat the article body as a bytestream. They only do \r\n. escaping and \r\n.\r\n detection, and do that on a byte stream basis, not a line per line bases. |For that matter, looking at the code, nnrpd isn't even 8 bit clean for |POSTS. It uses NUL to mark the end of the line. I don't know about |how innd works with IHAVE/TAKETHIS. |Of course having a content length argument on the IHAVE/CHECK/POST commands |would have the nice side effect of allowing servers to reject articles |based on size before they were received. This isn't an RFC977 issue at all. IMHO, it's an RFC1036. NNTP should not care at all about the body of what it's transporting. -- coneill@rcn.com|blahlblahblah@oneill.net
Technical Details
Message-ID:
<slrn6qsfdi.8b9.usenet@hmmm.colo.erols.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> <19980716134243.087$lx@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn6qsfdi.8b9.usenet@hmmm.colo.erols.net> Subject: Re: Content-Transfer-Encoding: binary Date: Thu, 16 Jul 1998 00:00:00 +0000 From: usenet@oneill.net (Clayton O'Neill) References: <slrn6qs63j.8b9.usenet@hmmm.colo.erols.net> <19980716134243.087$lx@newsreader.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.mbox.zip!not-for-mail X-Deja-AN: 372090520 X-Complaints-To: abuse@rcn.com X-Trace: winter.news.erols.com 900611605 23727 207.96.1.5 (16 Jul 1998 17:53:25 GMT) Organization: RCN Internet Newsgroups: news.software.readers,news.software.nntp