Article View: news.software.readers
Article #38284Re: GNKSA and References lines (was Re: [ANN] NewsWatcher 2.2)
From: John Moreno
Date: Sun, 25 Jan 1998 00:00
Date: Sun, 25 Jan 1998 00:00
124 lines
7343 bytes
7343 bytes
Simon Lyall <simon@darkmere.gen.nz> wrote: > John Moreno <phenix@interpath.com> wrote: > >Simon Lyall <simon@darkmere.gen.nz> wrote: > >> certainly doesn't apply to references headers (I used to use tin 1.2pl2 > >> and know how many references lines are longer than that). > >Longer than 65 or longer than 998? And I think the 998 is in common > >enough usage to be called a tradition > > To clarify I mean 998. tin1.2pl2 has a fixed length buffer or around 1000 > characters. If you use this to enter a newsgroup with articles that have > lines longer than this (usually Xref and References) then it will print an > error message to screen for every single one of them. Going into a busy > newsgroup can take over 10 minutes while all the error messages scroll > past at about 1 every two second. Ok. I recently did a poll of the 22 newsgroups that I read (usually keep them for 2 weeks) and found only 2 articles with References over 998. But of course this might not be a good sample as I could be reading unusual ngs (on the other hand you could have been reading the unusual groups). > >> Perhaps you could point out the part of 1036 that limits folded header to > >> 3072 characters? The server is broken under the current standard. > > >As I'm sure you are aware 1036 is silent on this. son-of-1036 allows > >relayers to not pass them along if the header is more than 1000 - with no > >reference to folding. > > If you are refering to paragraph 4 of section 4.6 then you are being very > selective in what you read. I see plenty of references to folding. > > I quote: > > --cut-here-- > If it is absolutely necessary for an implementation to > impose a limit on the length of header lines, body lines, or > header logical lines, that limit shall be at least 1000 > octets, including EOL representations. Relayers and trans- > mission paths confronted with lines beyond their internal > limits (if any) MUST not simply inject EOLs at random > places; they MAY break headers (as described in 4.2.3) as a > last resort, and otherwise they MUST either pass the long > lines through unaltered, or refuse to pass the article at > all (see section 9.1 for further discussion). > > NOTE: The limit here is essentially the same mini- > mum as that specified for SMTP mail in RFC 821 > [rrr]. Implementors are warned that Path (see > section 5.6) and References (see section 6.5) > headers, in particular, often become several hun- > dred characters long, so 1000 is not an overly > generous limit. > > --cut-here-- > > It says that if you are dumb enough to create a relayer with a limit you > HAVE to make it at least 1000 characters and if you come across an article > out side that limit you should either drop it, accept it or maybe fold the > header but you MUST NOT mangle it at random. Maybe it's a difference in interpretation of "header logical lines" as I took that to mean the UNFOLDED header line. What I meant wasn't that the sectoin didn't refer to folding but that it didn't say anything about accepting longer lines if they were folded. > >> We have had huge problems with arbitrary limits in the past, if you create > >> *any* sort of limit then programmers will instantly hard-code this in and > >> it is very hard to change this. A quick check of a newsgroup > >> (soc.culture.new-zealand actually) shows up several Subject lines that are > >> longer than 70 characters so I guess some people don't agree with you. > > >70 chars is fine for a subject, 2k isn't. 70 is a nice minimum. Since > >this is something that is usually entered by the user it's not likely to > >be a real problem. > > What do you mean "70 is a nice minimum" ? A minimum that a newsreader must accept and display - a GNKSA requirement, for any RFC standard I would propose 255 (chars not bytes) if I was proposing anything. My real point here was that a requirement that newsreaders accept subject of 5k is silly. I've seen people make mistakes and paste the body of a message in the subect - resulting in that very thing. A standard that requires newsreaders to accept that is just plain wrong. > >> Any limits (especially if they conflict with mail standards) have to have > >> a bloody good reason behind them and fear that the references header will > >> grow to a 100K is pointless when other headers (and bodies) are allowed to > >> be arbitrarily long (and this includes putting 1000 X- headers, each 500 > >> characters long in an article). > > >Other headers aren't persistent. Also unless you think usenet is going to > >go away soon it's not going to stop at 100k - with the way threads branch > >I consider it likely for some of them to last for decades. > > Subject is persistent and Newsgroups and FollowUp-To can be. Ok, persistent and continuously growing. > However you have remeinded me of one thing so I will do another draft of > references with a SHOULD on trimming the header at some *large* limit. References don't need to be *long*, it only needs to go back far enough to find another message in the chain anything over that is redundant. People have pointed out how disk space and transmission speeds have increased and say in the future 2 or eve a 100k headers are going to be no problem, there is another side of this. If you want to assume that things are going to get better, then why not assume that they are going to get better in a way that only requires 1 back reference? As I recently suggested on the USEFOR list - if you want to put in a limit and make it large why not do it in a manner that is byte independent - say 20 or 30 references? What's the biggest gap you've ever seen - 2 seems quite common and I know I've seen 4, I think I've seen 6. Of course this might be because of the fact that I locally store the messages and set my own expire limits. -- John Moreno
Technical Details
Message-ID:
<1d3f420.1brfuma1ebg1u8N@roxboro0-061.dyn.interpath.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<j-norstad-2201981433000001@norstad.at.nwu.edu> <1d3b32m.1t3yh23crv9e6N@n099h034.berlin.snafu.de> <j-norstad-2301980857490001@norstad.at.nwu.edu> <slrn6chgd0.8f4.guckes@rudin.math.fu-berlin.de> <1d3c4p1.q6s74jprv15iN@roxboro0-011.dyn.interpath.net> <m3iurafhyp.fsf_-_@windlord.Stanford.EDU> <1d3c9zu.oilnl81lyy2ieN@roxboro0-011.dyn.interpath.net> <6aci17$nbo@darkmere.gen.nz> <1d3d732.14gqr481his2dcN@roxboro0-062.dyn.interpath.net> <6af39q$vj@darkmere.gen.nz>Show Full Headers
Complete Article Headers
Message-ID: <1d3f420.1brfuma1ebg1u8N@roxboro0-061.dyn.interpath.net>
Subject: Re: GNKSA and References lines (was Re: [ANN] NewsWatcher 2.2)
Date: Sun, 25 Jan 1998 00:00:00 +0000
From: phenix@interpath.com (John Moreno)
References: <j-norstad-2201981433000001@norstad.at.nwu.edu> <1d3b32m.1t3yh23crv9e6N@n099h034.berlin.snafu.de> <j-norstad-2301980857490001@norstad.at.nwu.edu> <slrn6chgd0.8f4.guckes@rudin.math.fu-berlin.de> <1d3c4p1.q6s74jprv15iN@roxboro0-011.dyn.interpath.net> <m3iurafhyp.fsf_-_@windlord.Stanford.EDU> <1d3c9zu.oilnl81lyy2ieN@roxboro0-011.dyn.interpath.net> <6aci17$nbo@darkmere.gen.nz> <1d3d732.14gqr481his2dcN@roxboro0-062.dyn.interpath.net> <6af39q$vj@darkmere.gen.nz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 319187442
X-Face: $!7l?58&Lro>GQtr;A/P^'38=7{P[jPy/?JF*m`Z2&~@3:P3L81Sa7RQ=Y~o| ?'D1cB]L9V=\OS(\8S,5
Organization: phenix@interpath.com
Newsgroups: news.software.readers