Article View: news.software.readers
Article #41480Re: Reference line length question
From: Curt Welch
Date: Fri, 12 Jun 1998 00:00
Date: Fri, 12 Jun 1998 00:00
34 lines
2503 bytes
2503 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. Are you sure this is true? Have you tested and verified that this is really so? If it is, it's a really broken NNTP component and it either needs to be fixed or you need to find a "real" NNTP component. NNTP has a limit of 255 (or 256?) characters per line for NNTP commands, but NOT for nntp data - which is where References: lines are found. The person you were talking to might have confused the 255 character command line limit with other limits for the data. > 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" ? If your newsreader limits References: lines to 255 characters, then yes I'd say it was broken. But if you have to live with this, make sure you do it correctly. I.e., keep as many message ID's as possible - only remove the id's that are required to get the line under the 255 limit. And be very careful about counting characters. Make sure you know exactly what the limit is (and whether it includes the CR LF at the end of the line etc.) Make sure you code isn't off by one on it's calculation. This could result in postings failing - or references being truncated - both of which are "more" broken than being forced to limit the line to 255 characters. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19980612144218.269$ik@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.readers.mbox.zip!not-for-mailReferences:
<ab1080612054918.122522@news.prodigy.net>Show Full Headers
Complete Article Headers
Message-ID: <19980612144218.269$ik@newsreader.com>
Subject: Re: Reference line length question
Date: Fri, 12 Jun 1998 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
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: 362093343
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
Newsgroups: news.software.readers