Article View: news.software.nntp
Article #59507Re: News servers, nntpcache, slrn and the Usenet bug "From ".
From: Kjetil Torgrim Homme
Date: Sat, 06 Jul 2002 23:30
Date: Sat, 06 Jul 2002 23:30
30 lines
2761 bytes
2761 bytes
[itsy bitsy meowbot]:
>
> Kjetil Torgrim Homme wrote:
>
> > ah, I was wondering, is rnews format always CR LF, or does it use the
> > local newline convention?
>
> It's usually LF-only, given the Unix origins. The always-CRLF
> business comes from NNTP.
>
> The byte count in an rnews header should count a line ending as
> one character, regardless of how it is physically represented.
noooo! that's really broken :-(
ugh. so the algorithm is: read the N bytes specified, count the
number of CR LF's found (make sure you cover the case where the chunk
read ends with CR), then read that many extra bytes, and repeat.
ugly, ugly, ugly.
> Yes, this does mean that there are two competing definitions of a
> news article's actual size, depending on the protocols used. Such
> is life.
--
Kjetil T. /XXX\ /XXX\ /XXX\ /XXX\ /XX\ /XX\ /XX\ /XX\ ///
///X\\\ ///X\\\ ///X\\\ ///X\\///\\\///\\\///\\\///\\\///
//// \\\X/// \\\X/// \\\X/// \XX/ \XX/ \XX/ \XX/ \XX/
//// \XXX/ \XXX/ \XXX/ http://folding.stanford.edu
Technical Details
Message-ID:
<1rhejcv3gy.fsf@sex.ifi.uio.no>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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!news.tele.dk!small.news.tele.dk!193.213.112.26!newsfeed1.ulv.nextra.no!nextra.com!news-feed.ifi.uio.no!ifi.uio.no!not-for-mailReferences:
<slrnaiaghh.333.nenosed@arthur.valhalla.net.oz> <87eleisdsw.fsf@erlenstar.demon.co.uk> <slrnaib0fg.3b6.nenosed@arthur.valhalla.net.oz> <DNhV8.6017$xf3.1063173@news11-gui.server.ntli.net> <ylbs9mnq1p.fsf@windlord.stanford.edu> <slrnaicuao.4d2.nenosed@arthur.valhalla.net.oz> <1fewk95.1evu0x518r39cqN%planB@newsreaders.com> <1rpty0vcq1.fsf@sex.ifi.uio.no> <3D27665A.4080106@meowing.net>Show Full Headers
Complete Article Headers
Message-ID: <1rhejcv3gy.fsf@sex.ifi.uio.no> Subject: Re: News servers, nntpcache, slrn and the Usenet bug "From ". Date: Sat, 06 Jul 2002 23:30:53 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <slrnaiaghh.333.nenosed@arthur.valhalla.net.oz> <87eleisdsw.fsf@erlenstar.demon.co.uk> <slrnaib0fg.3b6.nenosed@arthur.valhalla.net.oz> <DNhV8.6017$xf3.1063173@news11-gui.server.ntli.net> <ylbs9mnq1p.fsf@windlord.stanford.edu> <slrnaicuao.4d2.nenosed@arthur.valhalla.net.oz> <1fewk95.1evu0x518r39cqN%planB@newsreaders.com> <1rpty0vcq1.fsf@sex.ifi.uio.no> <3D27665A.4080106@meowing.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!opentransit.net!news.tele.dk!small.news.tele.dk!193.213.112.26!newsfeed1.ulv.nextra.no!nextra.com!news-feed.ifi.uio.no!ifi.uio.no!not-for-mail Newsgroups: news.software.nntp,news.software.readers Organization: Dept. of Informatics, Univ. of Oslo, Norway Lines: 29 NNTP-Posting-Host: sex.ifi.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1025998254 7732 129.240.64.170 (6 Jul 2002 23:30:53 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 6 Jul 2002 23:30:53 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7