Article View: news.software.readers
Article #41482Re: Reference line length question
From: John Moreno
Date: Fri, 12 Jun 1998 00:00
Date: Fri, 12 Jun 1998 00:00
43 lines
2710 bytes
2710 bytes
Snedegar <snedegar@prodigy.net> wrote: > In a conversation with the vender of the NNTP component that I'm using in > building a newsreader I discovered that header lines are limited to 255 > characters and there is no way around it. With this limitation it is only > possible to pass on the first ref + last three + id of original article. If by NNTP component you mean you are using a library to handle the connection to the NNTP server - I'd recommend that you get a different one or do it yourself. > RFC 1036 says to include a "reasonable number of references." > GNKSA says to include as many as possible but at least the last three. > > My question is: If my beautiful newsreader chops down the reference line > this way, would it be acceptable or would it throw it squarely into that > ugly category of "broken" ? Well, if it was being tested by somebody who didn't know about this, then since the MUST is that it keep at least the last 3 references it might squeak by on luck - if all of the id's are under 80 chars (which would be quite typical) then it would pass, one the other hand if somebody just happened to test it where all of the id's were 160 chars then it wouldn't pass. 255-"References: "=242, with id's typically between 40-70, that gives you between 3 and 6 id's, 6 is almost but not quite enough to handle most situation, 3 is definitely NOT sufficient. And it's possible that you'd end up with only one id in some circumstances - again no where near enough for proper threading given propagation delays. Again - I'd say use a different library -- this one is obviously broken. This is a id as someone using the commercial usenet provider AirNews might get, as you can see it's about 80 chars long - given spaces and everything 3 of these /just/ fit. <A45028D83CAA06A6.D89DCF936AD4845B.872E1030BA91A8E7@library-proxy.airnews.net> -- John Moreno
Technical Details
Message-ID:
<1dai88p.bn4au187j9ztN@roxboro0-015.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:
<ab1080612054918.122522@news.prodigy.net>Show Full Headers
Complete Article Headers
Message-ID: <1dai88p.bn4au187j9ztN@roxboro0-015.dyn.interpath.net>
Subject: Re: Reference line length question
Date: Fri, 12 Jun 1998 00:00:00 +0000
From: phenix@interpath.com (John Moreno)
References: <ab1080612054918.122522@news.prodigy.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-mail
X-Deja-AN: 362053176
X-Face: $!7l?58&Lro>GQtr;A/P^'38=7{P[jPy/?JF*m`Z2&~@3:P3L81Sa7RQ=Y~o| ?'D1cB]L9V=\OS(\8S,5
X-FAQs-Read: perl, pascal.mac
NNTP-Posting-Date: Fri, 12 Jun 1998 08:58:05 PDT
Mail-Copies-To: never
Organization: phenix@interpath.com
Newsgroups: news.software.readers