Article View: news.software.nntp
Article #10319Re: Probs with innfeed 0.8.5b on Solaris
From: James Brister
Date: Thu, 22 Aug 1996 00:00
Date: Thu, 22 Aug 1996 00:00
31 lines
1963 bytes
1963 bytes
Joe Greco (jgreco@brasil.moneng.mei.com) wrote: : In news.software.nntp article <4vhun0$90g@gw.home.vix.com>, brister@gw.home.vix.com (James Brister) wrote: : :As for mmap(). You need a open file descriptor for that, and file : Ummmm.. not to differ with you, but I do not agree with that: :-) : SunOS 4.1.3, man mmap(), page 1: Yeah, I see ... sort of counter-intuitive, but useful. Thanks. I'll start thinking about what needs to be done to use it. : I think it might be mildly hairy for innfeed, only because you would need : to do output processing of the article.. you need to look for any "\n." : sequences and add an additional '.'. I assume that you probably do that : while reading in an article right now.. hm.. yes, in nntpPrepareBuffer.. Got to add the '\r' everywhere too... I originally had it doing no bit-fiddling at all, but using 2 iovec structs per line (one for body and one for '\r'), but backed out of that when I saw the really small value SVR4 machines have for the max you can pass into writev. Guess I'll look into going back to that. Thanks James -- James Brister brister@vix.com Internet Software Consortium inn@isc.org
Technical Details
Message-ID:
<4vi48m$flj@gw.home.vix.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!not-for-mailReferences:
<4vc7hk$sjj@news2.cais.com> <4vgpmj$sfe@gw.home.vix.com> <4vht04$o3d@brasil.moneng.mei.com> <4vhun0$90g@gw.home.vix.com> <4vi124$o7u@brasil.moneng.mei.com>Show Full Headers
Complete Article Headers
Message-ID: <4vi48m$flj@gw.home.vix.com> Subject: Re: Probs with innfeed 0.8.5b on Solaris Date: Thu, 22 Aug 1996 00:00:00 +0000 From: brister@gw.home.vix.com (James Brister) References: <4vc7hk$sjj@news2.cais.com> <4vgpmj$sfe@gw.home.vix.com> <4vht04$o3d@brasil.moneng.mei.com> <4vhun0$90g@gw.home.vix.com> <4vi124$o7u@brasil.moneng.mei.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!not-for-mail X-Deja-AN: 175860488 Distribution: inet Organization: Internet Software Consortium Newsgroups: news.software.nntp