🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26768

Re: Q: XHDR and XOVER

#26768
From: Forrest J. Cavalier III
Date: Wed, 11 Mar 1998 00:00
41 lines
2049 bytes
In article <350bb4e4.2706429@news.tcp.co.uk>, srk@bigfoot.com wrote...
>
>Thankyou Terry and fluffy@meow.org (Fluffy) for responding to my
>questions. I found your answers both helpful and informative.
>
>I recently located a web site:
>
>http://www.mibsoftware.com/userkt/0099.htm
>
>  ... which has collected some interesting NNTP related info. Tonight
>I am planning to write some code to parse the data returned via XOVER,
>and I have a set a buffer of 2048 bytes for each line. In view of the
>length of some of these XOVER lines, is 2048 bytes about right, or is
>it over-kill ?

The starting point for "The Developer's Section" of the Usenet RKT:
	http://www.mibsoftware.com/userkt/forsoft.htm

-------------------------------------------------------------------
To answer the question on what size XOVER buffer....

Why don't you have a look at the code in INN nnrpd to see how it
handles XOVER?  nnrpd/article.c, and lib/qio.c

Everything in INN is freely available for "borrowing" and "stealing."

There are no restrictions on how INN or parts of it gets used,
commercially or non-commercially.

(To answer the question, the maximum size line that INN can serve
as XOVER is of size QIO_BUFFER, a configurable parameter, often
set to 8192.  BUT SOMETIMES SET LARGER.)

Have fun!

Forrest J. Cavalier III
Mib Software


Technical Details
Message-ID: <6e641u$slu$4@nntp.epix.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!not-for-mail
References: <350360c6.17001868@news.tcp.co.uk> <EpJEF4.E0x@spcuna.spc.edu> <350bb4e4.2706429@news.tcp.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <6e641u$slu$4@nntp.epix.net>
Subject: Re: Q: XHDR and XOVER
Date: Wed, 11 Mar 1998 00:00:00 +0000
From: mibsoft@mibsoftware.com (Forrest J. Cavalier III)
References: <350360c6.17001868@news.tcp.co.uk> <EpJEF4.E0x@spcuna.spc.edu> <350bb4e4.2706429@news.tcp.co.uk>
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!not-for-mail
X-Deja-AN: 332968178
Mime-Version: 1.0
Distribution: inet
Content-Type: Text/Plain; charset=US-ASCII
Organization: Mib Software
Newsgroups: news.software.nntp