Article View: news.software.nntp
Article #51500Re: Question: Overflow on path line ... what to do ?
From: Curt Welch
Date: Tue, 27 Mar 2001 13:42
Date: Tue, 27 Mar 2001 13:42
24 lines
2293 bytes
2293 bytes
mynews@i3w.com (Juergen Helbing) wrote: > I am actually handling path lines up to 1024 bytes with MyNews by default > - but what do other servers do ? The core article processing code of my server only has one limit - the max size of any entire article which is I think set at 10MB. If you are writing new server code today you would be a fool to structure it in such a way that any of the headers were limited to small numbers like 1024 bytes. You shouldn't be using fixed sized buffers for processing articles or headers. It is ok and wise to reject and/or drop articles because they violate various size limits, but your code should all be written to make it easy to deal unlimited size headers and header lines. It's never OK for a server to truncate any header and it's never ok for a server to change any header other than Path or Xref for articles which pass though it. You shouldn't change the order of the header lines, you should add or remove spaces, you should NEVER clean up headers. Pass it on as you found it or don't. Those are your only options. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20010327084208.717$La@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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!freenix!skynet.be!europa.netcrusader.net!208.184.7.66!newsfeed.skycache.com!Cidera!portc03.blue.aol.com!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mailReferences:
<o3129021000@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <20010327084208.717$La@newsreader.com>
Subject: Re: Question: Overflow on path line ... what to do ?
Date: Tue, 27 Mar 2001 13:42:08 +0000
From: curt@kcwc.com (Curt Welch)
References: <o3129021000@archiver.winews.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!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!freenix!skynet.be!europa.netcrusader.net!208.184.7.66!newsfeed.skycache.com!Cidera!portc03.blue.aol.com!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!flame.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-User: Curt@NewsReader.Com
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/
User-Agent: NewsReader.Com
Lines: 23