🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Kevin M. Counts Mon, 15 Feb 1999 00:00
Length of Text from an News Server
#35448
Author: Kevin M. Counts
Date: Mon, 15 Feb 1999 00:00
19 lines
1308 bytes
I'm starting to tinker with writing a program that
interfaces w/ a news server. My question is:

What is the biggest line size a server can output when
I request an article? Couln't find it in the NNTP RFC. Maybe
there isn't a set size?

Thanks,

Kevin Counts
-- 

   __ _    GNU Powered
  / /(_)_ __  _   ___  __     Kevin Counts, A.K.A. "DigiCat"
 / / | | '_ \| | | \ \/ /   
/ /__| | | | | |_| |>  <      E-Mail:    digicat@mindspring.com    
\____/_|_| |_|\__,_/_/\_\     Homepage:  http://www.mindspring.com/~digicat/  

Re: Length of Text from an News Server
#35435
Author: Curt Welch
Date: Mon, 15 Feb 1999 00:00
15 lines
1647 bytes
digicat@tampabay.rr.com (Kevin M. Counts) wrote:
> I'm starting to tinker with writing a program that
> interfaces w/ a news server. My question is:
>
> What is the biggest line size a server can output when
> I request an article? Couln't find it in the NNTP RFC. Maybe
> there isn't a set size?

Some servers do limit line lengths to numbers in the 512 to 1024 character range (some of that comes from the NNTP rfc), but in general when writing a client you need to be able to deal with lines of unlimited length.  You just never know when some jerk is going to post an article with some bogus software that lets them write their entire message as one long line which just seems to go on and on and on.......

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Length of Text from an News Server
#35438
Author: John Moreno
Date: Mon, 15 Feb 1999 00:00
15 lines
1160 bytes
Kevin M. Counts <digicat@tampabay.rr.com> wrote:

> I'm starting to tinker with writing a program that
> interfaces w/ a news server. My question is:
> 
> What is the biggest line size a server can output when
> I request an article? Couln't find it in the NNTP RFC. Maybe
> there isn't a set size?

There isn't a set size.

-- 
John Moreno

Re: Length of Text from an News Server
#35453
Author: BARRY BOUWSMA IS A PEDOPHILE
Date: Mon, 15 Feb 1999 00:00
9 lines
1330 bytes
On Mon, 15 Feb 1999, Kevin M. Counts wrote:

> What is the biggest line size a server can output when
> I request an article? Couln't find it in the NNTP RFC. Maybe

If you get a line that is longer than 72 characters, your news swerver is brokened and you should toss that defective article on the ground.


Re: Length of Text from an News Server
#35457
Author: BARRY BOUWSMA IS A PEDOPHILE
Date: Tue, 16 Feb 1999 00:00
12 lines
2083 bytes
On 15 Feb 1999, Curt Welch wrote:

> > What is the biggest line size a server can output when
> 
> Some servers do limit line lengths to numbers in the 512 to 1024 character ra$

But what you're more likely to see nowadays seems to be people who post raw binary articles, which, while strictly not text, will very likely present you with a single apparent line of several hundred k in size, if not a megabyte or more (I wouldn't put it past someone to post a complete CD as a single-part raw binary).  I saw several hundred such raw binary posts one day last week, so, assuming you intend to handle anything that a swerver can throw at you, you'll need to be prepared for this.  There seems to be no shortage of bogus software that lets some jerk post a raw binary as a single long line that just seems to go on and on and on and on and on and on and on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Re: Length of Text from an News Server
#35461
Author: Kevin M. Counts
Date: Tue, 16 Feb 1999 00:00
22 lines
2362 bytes
In article <Pine.BSF.3.96.990216013121.671C-100000@newsmangler.inet.tele.dk>,
	BARRY BOUWSMA IS A PEDOPHILE <bofh@vsZbr.cZ> writes:
> On 15 Feb 1999, Curt Welch wrote:
> 
>> > What is the biggest line size a server can output when
>> 
>> Some servers do limit line lengths to numbers in the 512 to 1024 character ra$
> 
> But what you're more likely to see nowadays seems to be people who post raw binary articles, which, while strictly not text, will very likely present you with a single apparent line of several hundred k in size, if not a megabyte or more (I wouldn't put it past someone to post a complete CD as a single-part raw binary).  I saw several hundred such raw binary posts one day last week, so, assuming you intend to handle anything that a swerver can throw at you, you'll need to be prepared for this.  There seems to be no shortage of bogus software that lets some jerk post a raw binary as a single long line that just seems to go on and on and on and on and on and on and on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> 

Nice long line post by the way :-) -- Thanks guys.. you saved me a headache
before it happened!
-- 

   __ _    GNU Powered
  / /(_)_ __  _   ___  __     Kevin Counts, A.K.A. "DigiCat"
 / / | | '_ \| | | \ \/ /   
/ /__| | | | | |_| |>  <      E-Mail:    digicat@mindspring.com    
\____/_|_| |_|\__,_/_/\_\     Homepage:  http://www.mindspring.com/~digicat/  

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads