🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67184

Re: Maximum length of 'subject' field in header ?

#67184
From: Starmen
Date: Sat, 15 Nov 2003 19:25
56 lines
3596 bytes
I'll stick to 200 characters for now and see whether this poses any real
problems.

Thanks for your help and comments Dirk.

Regards,
Starmen

"Dirk Nimmich" <nimmich@muenster.de> wrote in message
news:bp5tid$jpv$02$1@news.t-online.com...
> Starmen wrote:
> > Of course I have studied a lot of information before I started
> > developing !  But I never seemed to be able to find this
> > particular piece of information because it is simply not there.
>
> No limit mentioned => no limit intended.
>
> > Often I also like to write some sample code to see whether
> > specifications match with the real world (and more often than not
> > they don't !).
>
> You'll notice that this is even true for the references I gave you.
> That's why you would have to deal with overlong subjects no matter
> if there was a limit. For example, RFC 2047 imposes a limit on a
> physical subject line (though not the subject's overall length) if
> there is an encoded word in it, but this limit is often ignored.
> (And especially speaking of usenet, the real world doesn't match the
> specifications because they are simply not read or understood by
> many developers.)
>
> > Also, in real life a programmer cannot deal efficiently with
> > theoretically unlimited data structures. Some limits are imposed
> > sooner or later to avoid the 'claim <unlimited> amount of memory
> > to hold potentially <unlimited> long subject lines' problem.
>
> Correct. That's why I added the "in theory".
>
> > I'm trying to find the common denominator which will enable my
> > program to catch 99.999 % of all articles. I will gladly pass over
> > the 0.001 % that chooses to use insanely long subject lines and
> > let the usenet community flame them into never doing it again.
>
> Well, in tin we had an old 2048 byte limit somewhere and got caught
> recently. Even if the author is flamed down that shouldn't cause any
> problems for the reader using your (or our) tool.
>
> > I need to impose some limits because I'm storing article subject
> > lines into a database which only handles fixed-length
> > datastructures.
>
> That's ok. But you should be prepared to encounter postings that
> have _very_ long lines even if you cut them somewhere and ignore the
> rest.
>

Technical Details
Message-ID: <3fb67d8e$0$85808$c3e8da3@news.astraweb.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!news.astraweb.com!news-big.astraweb.com!not-for-mail
References: <3fb6228f$0$77542$c3e8da3@news.astraweb.com> <bp5hml$8tt$05$1@news.t-online.com> <3fb66078$0$85838$c3e8da3@news.astraweb.com> <bp5tid$jpv$02$1@news.t-online.com>

Show Full Headers
Complete Article Headers
Message-ID: <3fb67d8e$0$85808$c3e8da3@news.astraweb.com>
Subject: Re: Maximum length of 'subject' field in header ?
Date: Sat, 15 Nov 2003 20:25:45 +0100
From: "Starmen" <someone@microsoft.com>
References: <3fb6228f$0$77542$c3e8da3@news.astraweb.com> <bp5hml$8tt$05$1@news.t-online.com> <3fb66078$0$85838$c3e8da3@news.astraweb.com> <bp5tid$jpv$02$1@news.t-online.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.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!news.astraweb.com!news-big.astraweb.com!not-for-mail
Newsgroups: news.software.nntp
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Lines: 56
Organization: Unlimited download news at news.astraweb.com
NNTP-Posting-Host: 806ee31f.news.astraweb.com
X-Trace: DXC=GM>m9NH`fX=l`aiKB9>hO1L?0kYOcDh@:_5YRcigFWe; JnVgo:lGC68d27B;
 Rn=bn06l09bFVg<]8R<4L\:>h?n9