Article View: news.software.nntp
Article #53515Re: Header compression - necessary, useful, senseless ?
From: J.B. Moreno
Date: Sat, 28 Jul 2001 06:19
Date: Sat, 28 Jul 2001 06:19
52 lines
2999 bytes
2999 bytes
In article <20010727120040.184$4k@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: -snip- > Anyone that needs to read data from an NNTP stream allready has code > to do the above. And if they were smart, it was writen to deal with > binary data already. So there's no change required to read the > compressed data. I've been doing some tests for the last couple of days with binary posts (using QP to escape CR LF and =) and it seems that some servers can't handle this. Here's an example, it was being posted to on server and read from another, here's what it looked when it arrived: ==== Path: afrodite.telenet-ops.be!ossa.telenet-ops.be!news-peer-uk.interpacket.net! news-xfer.siscom.net!newsxfer.visi.net!cpk-news-hub1.bbnplanet.com!news. gtei.net!sunqbc.risq.qc.ca!newsfeed.telusplanet.net!pln-e!extra.newsguy. com!lotsanews.com!feed2.onemain.com!feed1.onemain.com!feed1.newsreader.c om!news2.newsreader.com!flame.newsreader.com !not-for-mail From: JB <planb@newsreaders.com> Date: 27 Jul 2001 13:23:38 GMT Newsgroups: alt.binaries.test Subject: test binary - 1948 Tucker 4dr Sedan.jpg Message-ID: <jbm-20010727092217@newsreaders.com> MIME-Version: 1.0 Content-Type: application/octet-stream;file="1948 Tucker 4dr Sedan.jpg" Content-Transfer-Encoding: Quoted-Printable X-Trace: flame.newsreader.com snVY@85VnaZX2_e1OuwpKK8_hB2zyaz80xCYMecB@Nt_Y Lines: 736 begin 644 1948 Tucker 4dr Sedan.jpg �����. TAKETHIS <9jrq17$tkr$1@news.x-echo.com> Path: -snip- ==== Since there was a null at that point in the file, it looks like one of the servers couldn't handle receiving a null in the data stream and discarded everything after that until the end of the article and then for some reason appended the next command/article as the body of my test post. -- J.B. Moreno
Technical Details
Message-ID:
<280720010219054011%planb@newsreaders.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planbReferences:
<3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <0t3b605fdfi155bn3e9%md@wonderland.linux.it> <20010726175821.025$Hd@newsreader.com> <4112a.r71201@archiver.winews.net> <20010727120040.184$4k@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <280720010219054011%planb@newsreaders.com> Subject: Re: Header compression - necessary, useful, senseless ? Date: Sat, 28 Jul 2001 02:19:05 -0400 From: "J.B. Moreno" <planb@newsreaders.com> References: <3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <0t3b605fdfi155bn3e9%md@wonderland.linux.it> <20010726175821.025$Hd@newsreader.com> <4112a.r71201@archiver.winews.net> <20010727120040.184$4k@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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!feed1.newsreader.com!news2.newsreader.com!flame.newsreader.com!planb Newsgroups: news.software.nntp Organization: bofh wannabe MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit User-Agent: Thoth/1.2.4 (Carbon/OS X) X-Trace: flame.newsreader.com l2s3M1FZuF/MuNjtQT66f3HSUlt_-yM5-RSgsbO.z0Fdu Lines: 51